search

To enable or disable the global search plugin

SearchConfig type has the following properties:

NameDescriptionTypeExample
enabledto enable/disable the pluginbooleantrue or false
keyword optionalto initiate with a keywordstringJohn
server optionalto enable server integrationstringServer-side search
debounceTimeout optionalsearch debounce timoutnumber1000 (1 second)
new Grid({
data: [
['John', '[email protected]', '(353) 01 222 3333'],
['Mark', '[email protected]', '(01) 22 888 4444'],
['Eoin', '[email protected]', '(05) 10 878 5554'],
['Nisen', '[email protected]', '313 333 1923']
],
search: {
enabled: true
}
});

tip

You can customize the search placeholder using the language config. See Internationalization.

Last updated on by Afshin Mehrabani