Multiple Headers: Filter enabled with Sort Disabled
Multiple Headers: Filter enabled with Sort Disabled
virtualeyes
Posts: 3Questions: 0Answers: 0
Hi, thanks for this most excellent library.
Problem:
have a datatable with multiple headers that span multiple columns (4 cols) and am unable to get filter working on data columns.
I can disable sorting with:
bSort: false
but filter functionality appears to be broken, presumably due to the headers spanning multiple columns.
Can we have multiple header rows with filterable data?
Thanks for clues.
Problem:
have a datatable with multiple headers that span multiple columns (4 cols) and am unable to get filter working on data columns.
I can disable sorting with:
bSort: false
but filter functionality appears to be broken, presumably due to the headers spanning multiple columns.
Can we have multiple header rows with filterable data?
Thanks for clues.
This discussion has been closed.
Replies
Allan
I actually can break the headers out into matching columns; in fact, I tried that, but filter functionality still does not work.
Suspect the issue is that perhaps the library is unable to filter/collapse a single datatable with multiple separate header rows.
What would work is to have a single datatable per header row and corresponding filter input field, but that's far less elegant than a single filter input being able to drill down through multiple header rows and corresponding data.
I'll live regardless ;-)