Force rows to be child rows on table and below breakpoint
Force rows to be child rows on table and below breakpoint
I have a responsive table with 9 columns
Using the responsivePriority I can set which columns display
What I would like is to force the table so that once the viewport is below 992px (so I can set my own custom breakpoints), only columns 2 and 3 display and all other columns become child rows
I'm looking for the none class but only on certain breakpoints
I've got the .Responsive.display.childRowImmediate property set, so I am not worried about the control column as the table will always be expanded
I just cannot work out how to set the classes on the columns to achieve this result
Mike
This discussion has been closed.
Answers
You can define your own array of breakpoints: https://datatables.net/reference/option/responsive.breakpoints
And take a look a this too please:
https://datatables.net/extensions/responsive/classes