Class aV.DynamicSearch
Defined in: aV.module.dynamicSearch.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
aV.DynamicSearch(name, element, guid)
Constructor of the "DynamicSearch" objects
|
| Method Attributes | Method Name and Description |
|---|---|
|
destroy()
Destroys the associated DBGrid object and removes the container which holds all the necessary components for search.
|
|
|
setActiveForm(which)
Simply changes the display css property of the basic and the advanced forms according to the which parameter.
|
Class Detail
aV.DynamicSearch(name, element, guid)
Constructor of the "DynamicSearch" objects
- Parameters:
- {String} name
- The name of the search, which the object will be associated with.
- {String | HTMLObject} element
- The element(or its id) where the necessary components of the DynamicSearch object will be created in.
- guid
- Requires:
- aV.ext.string.js
- aV.main.events.js
- aV.main.ajax.js
- aV.main.history.js
- aV.main.visual.js
- aV.plg.infoBox.js
- aV.module.DBGrid.js
Method Detail
destroy()
Destroys the associated DBGrid object and removes the container which holds all the necessary components for search.
setActiveForm(which)
Simply changes the display css property of the basic and the advanced forms according to the which parameter.
Also assigns the current form to the object's "activeForm" property.
- Parameters:
- {Integer} which
- 0 for basic search and 1 for advanced