Constructor
new SaveSearchToolbarRenderer()
Methods
addSaveSearchToolbarItems()
Adds built in save and load search commands to toolbar.
deleteSearch(searchId)
Deletes the selected save search
Parameters:
Name | Type | Description |
---|---|---|
searchId |
string | saved search id |
doSearch(searchId)
Loads the saved search criteria in to the search form, perform search and load results into table.
Parameters:
Name | Type | Description |
---|---|---|
searchId |
string | saved search id |
initializeSaveService()
Initializes the save search service.
loadSearch(searchId)
Loads the saved search criteria in to the search form.
Parameters:
Name | Type | Description |
---|---|---|
searchId |
string | saved search id |
registerToolbarEvents()
Registers events on savesearch toolbar associated with this searchpanel.
saveSearch(param0)
Saves the search criteria into db.
Parameters:
Name | Type | Description |
---|---|---|
param0 |
object | object containing search name & id |