How to hide a specific column based on datatable or datatable container's width
How to hide a specific column based on datatable or datatable container's width
Real1Blue
Posts: 2Questions: 1Answers: 0
In order to show data properly on the small size screens I need to hide or display some colums base on the width.
I understand that I need to use render option but I couldn't figure out how to access table width?
Thanks in advance.
This discussion has been closed.
Answers
See if the Responsive Extension will do what you want.
Kevin
Hi Kevin,
Responsive Extension doesn't let me hide or display columns based on the table width or I don't know how it is done.
Do you have an example.
Thank you
The documentation has plenty of examples.
https://datatables.net/extensions/responsive/examples/
You can set breakpoints. Is that what you are looking for?
Kevin