Unable to hide filter row when using tree data with enableFiltering: false
#1624
-
I am using SlickGrid-Universal with tree data, and I want to hide the filter row at the top of the grid. I set |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The message is correct, Tree Data requires and uses filtering to work, you cannot disable it. When you collapse a parent group, the grid is actually using Filter to filter out child rows, so that is why Filtering must be enabled. However, you could probably hide the filter row if you don't want to show filter, or add |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Disabling all column filters will not remove the filter header row, you can use the All of these things should be in the documentations, Grid Menu. If the docs is missing this kind of info, then please contribute to the project by adding missing documentation. I don't want to answer all these questions every time, documentation should be the place to find all the answers to your questions Also note that all of these error/warning messages that you see are there for a reason. If you want to understand why the message, you can ask but the fact is that all of these messages serve a purpose. If the message(s) aren't clear enough, then contribute a Pull Request to improve the message. EDIT I added more docs related to this discussion in commit 67dfac3 |
Beta Was this translation helpful? Give feedback.
The message is correct, Tree Data requires and uses filtering to work, you cannot disable it. When you collapse a parent group, the grid is actually using Filter to filter out child rows, so that is why Filtering must be enabled. However, you could probably hide the filter row if you don't want to show filter, or add
filterable: false
to each column