-
-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Labels
new featureNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when I try to use an external search package for a custom search for config.data. Need to transform the data to the format that the external search package needed.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Need a way to override of search operator.
The parameters needed are data, visible columns, invisible columns, data, keyword
Looks like for now I need to disable the default search plugin, and register my custom search plugin.
The code is almost the same, except for the search operator https://github.com/grid-js/gridjs/blob/master/src/operator/search.ts#L16
I expect the search config:
{
search: {
enabled: true,
// columns: { name: "xxx", visible: true/false }
operator: (data, columns, data, keyword) => {...}
}
}Metadata
Metadata
Assignees
Labels
new featureNew feature or requestNew feature or request