Firstly, let me set the scene.
I have a table with 8 fixed columns at the start. These are row headings so to speak.
I also have 6 fixed rows at the bottom of the table, which I’m using as a sort of summary (uses formulas to calculate totals etc). The summary rows have conditional formatting based on their values. For each summary row, I merge the first 8 columns as there is only one required row heading for each summary row.
Example:
What I’d like to do is have the summary rows always visible, even when a column is filtered. I’d also like the filters to use the HiddenRows plugin, instead of changing row line numbers and removing rows from the actual data table. The reason for this is it messes up some other logic that is based on summary row indexes.
The solution I can think of is to use a before/afterFilter hook, but I’d need an array to pass to HiddenRows#hideRows (which would exclude the last 6 rows). However, I’m not too sure what functionality I can use to achieve this.
TIA