Compact table doesn't show all columns when screen too small
Compact table doesn't show all columns when screen too small
Hi,
I've been using DataTables in my project and I'm loving it so far. Unfortunately, I have a problem:
If my screen size is too small, the table will show a green + button to show the other columns. The last columns of my table are used as 'Actions' (Edit/Update/Delete) with an HTML icon so I don,t need to visualize the value inside this field (0):
I need it to look like this every time:
Any way to not let it resize? It causes a lot of problem for me. If by clicking the + button, it would show me my buttons and I can click on them, it would also work. Probably even better since the data would not be shrinked
This question has an accepted answers - jump to answer
Answers
Hi @stevensi1018 ,
Yep, you can define the order/priority in which the columns are removed - see
columns.responsivePriority
,Cheers,
Colin
Thanks a lot. Simple solution and I got it working in less than 5 minutes!