DataTables - Last column fixed width

Jenifer

New Member
The idea is this : I have one jquery that loads the DataTables, and I know that I can set the "aoColumns" : "sWidth" parameter to make one column fixed width and it's working.The problem that I have is that I have a lot of tables, variable numbers of columns, and I need the LAST one to be fixed size, no matter what number that column is. Sometimes can be 3'rd, sometimes can be 8'th, sometimes can be 16'th, does not matter.Is even possible ? No , I don't want to call datatable jquery for each table, no I don't want to modify anything in the structure because it's working very well right now, just maybe add some class or parameters to the javascript.
 
Back
Top