Customizing conditions in search builder

Customizing conditions in search builder

tacman1123tacman1123 Posts: 179Questions: 41Answers: 1

Is is possible to customize the conditions in the searchBuilder for specific fields?

For example, with some field I never want to offer "ends with" or "does not contain". Only some fields can handle "between". That kind of thing.

It seems that you can customize the condition based on type

https://datatables.net/extensions/searchbuilder/customConditions

but I'm wondering if there's a way to do it based on the specific field. I'm using a custom server-side processing script, so I only want to present to the user operators and conditions that are handled by the server.

Sign In or Register to comment.