Filter not displaying ? #179
-
Hello. I'm tried to add a filter to my data-table, but all I got is the "filter" icon Here is how I implemented my datatable am I missing something :( ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Did you click on filter icon? |
Beta Was this translation helpful? Give feedback.
-
Check if you have some missing configuration values here # config/packages/kreyu_data_table.yaml
kreyu_data_table:
defaults:
pagination:
enabled: true
persistence_enabled: true
per_page_choices: [25, 50, 100, 200]
sorting:
enabled: true
persistence_enabled: true
filtration:
enabled: true
persistence_enabled: true
exporting:
enabled: true |
Beta Was this translation helpful? Give feedback.
-
No additional configuration is required. If you see the filter button, it expands (or collapsed if already expanded) the filtration form on click. It uses the standard Bootstrap collapse feature: https://getbootstrap.com/docs/5.3/components/collapse/#how-it-works, therefore, if the filtration button does nothing, please double check whether your application is using the Bootstrap javascripts. |
Beta Was this translation helpful? Give feedback.
No additional configuration is required. If you see the filter button, it expands (or collapsed if already expanded) the filtration form on click. It uses the standard Bootstrap collapse feature: https://getbootstrap.com/docs/5.3/components/collapse/#how-it-works, therefore, if the filtration button does nothing, please double check whether your application is using the Bootstrap javascripts.