JavaScript/jQuery TreeList - columnChooser.search
Configures the column chooser's search functionality.
JavaScript
- $(function(){
- $("#treeList").dxTreeList({
- // ...
- columnChooser: {
- // ...
- search: {
- editorOptions: {
- placeholder: 'Search column',
- mode: 'text'
- },
- enabled: true,
- timeout: 800
- },
- },
- })
- });
editorOptions
Configures the search box.
Type: any
Default Value: {}
See the TextBox Configuration topic for information about properties you can specify in this object.
JavaScript
- $(function(){
- $("#treeList").dxTreeList({
- // ...
- columnChooser: {
- // ...
- search: {
- editorOptions: {
- placeholder: 'Search column',
- mode: 'text',
- onValueChanged: (e) => {
- // handle the value change here
- }
- },
- // ...
- },
- },
- })
- });