I am currently using a server-side VueTables-2 component to display data from the database. The table includes columns with numeric, textual, and date values.
My issue lies with filtering the numeric columns. I am trying to incorporate options for range filtering (such as >, >=, <, <=, =, between, etc).
The only available documentation that I could find is located here:
https://www.npmjs.com/package/vue-tables-2#server-side-filters
Server Side Filters
A. utilize the customFilters option to define your filters, following this syntax:
customFilters: ['alphabet','age-range']
B. similar to the client-side component.
However, there are a few aspects that I don't quite grasp:
- How is 'age-range' actually implemented?
- Where do I specify the filter settings for each column?
- Do I need to involve Vuex or the bus in this process?
If anyone can assist me with the implementation, I would greatly appreciate it.
Thank you