Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:advanced_searching [2010/04/01 21:31]
jimmym
wiki:advanced_searching [2010/04/01 21:48]
jimmym spelling and grammar stuff
Line 4: Line 4:
 ===== Installation ===== ===== Installation =====
 In order to use this method the following modules should be included when downloading the grid: Common, Form Edit, Search Plugin. For more information refer to [[Download]] In order to use this method the following modules should be included when downloading the grid: Common, Form Edit, Search Plugin. For more information refer to [[Download]]
- 
 ===== Calling Conventions ===== ===== Calling Conventions =====
 <code javascript>​ <code javascript>​
Line 27: Line 26:
    * ... other options set as name:value pair    * ... other options set as name:value pair
  
-Typically when this method is called it lunches ​the modal dialog and make so that the grid is not accessible ​until the dialog is not closed.\\  +Typically when this method is called it launches ​the modal dialog and makes it so the grid unaccessible ​until the dialog is closed.\\  
-This method is not the default search method in the [[navigator]]. To enable this you should either set the defaults ​search options using the extend method or set it in the navigator in the place of the search options.+This method is not the default search method in the [[navigator]]. To enable this you should either set the default ​search options using the extend method or set it in the navigator in the place of the search options.
  
 The advanced searching can look like this when created: The advanced searching can look like this when created:
Line 34: Line 33:
 {{ :​wiki:​advsearch.png |Advenced Searching}} {{ :​wiki:​advsearch.png |Advenced Searching}}
  
-As you can see the user can add or delete ​unlimited conditions to perform the search. \\ To add a condition the plus button should be pressed. \\ To delete a condition ​minus button should be pressed.+As you can see the user can add or delete ​an unlimited ​number of conditions to perform the search. \\ To add a condition the plus button should be pressed. \\ To delete a condition ​the minus button should be pressed.
 ===== Options ===== ===== Options =====
  
-We have the same options as those from [[:​wiki:​singe_searching#​options | Single Searching]] \\ Below we consider only these options that are connected with the advanced search.\\ As mentioned above the first options ​is +We have the same options as those from [[:​wiki:​singe_searching#​options | Single Searching]] \\ Below we consider only these options that are connected with the advanced search.\\ As mentioned above the first option ​is
    * multipleSearch:​true - This option activates the advanced searching    * multipleSearch:​true - This option activates the advanced searching
 The second option is: The second option is:
Line 55: Line 54:
 </​code>​ </​code>​
  
-As your notice the posted data is a JSON string with the following parameters:+The posted data is a JSON string with the following parameters:
  
-  * groupOp this determines the rules of the search. Can be AND or OR. This option can be changed from the user with help of the select box near to Reset button. When the user select all (English variant) the AND is set. When the user select ​any the OR is set. +  * groupOp ​this determines the rules of the search. Can be AND or OR. This option can be changed from the user with the help of the select box near the Reset button. When the user select all (English variant) the AND is set. When the user selects ​any the OR is set. 
-  * rules is array with the following options +  * rules - an array with the following options 
-     * field - the field property ​contain ​the name of the selected index (or name) from colModel+     * field - the field property ​contains ​the name of the selected index (or name) from colModel
      * op - determines the condition of the searching. see the sopt in the [[:​wiki:​singe_searching#​options | options]]      * op - determines the condition of the searching. see the sopt in the [[:​wiki:​singe_searching#​options | options]]
-     * data - is the entered data to be search+     * data - is the entered data to be searched on

QR Code
QR Code wiki:advanced_searching (generated for current page)