Aligning column widths across multiple instances of datatables with scrolling.
Aligning column widths across multiple instances of datatables with scrolling.
Hi,
Ok, here's my scenario...
I have multiple instances of datatables instantiated on a page. The tables have the same number of columns in each instance. I have turned on sScrollY for each instance so that they scroll within a certain height. What I would like to do is align column widths so that the columns align neatly across all instances so that for example: instance 1, col 1 is wider than instance 2 col 1 then we would align to the width of instance 1 col 1 as it's the widest of all instances. Then do this for all columns across all instances. Is this possible?? Any help of on this would be most appreciated.
Thanks
Andy
Ok, here's my scenario...
I have multiple instances of datatables instantiated on a page. The tables have the same number of columns in each instance. I have turned on sScrollY for each instance so that they scroll within a certain height. What I would like to do is align column widths so that the columns align neatly across all instances so that for example: instance 1, col 1 is wider than instance 2 col 1 then we would align to the width of instance 1 col 1 as it's the widest of all instances. Then do this for all columns across all instances. Is this possible?? Any help of on this would be most appreciated.
Thanks
Andy
This discussion has been closed.
Replies