Fixed column width not working :/
Fixed column width not working :/

Hello
I've seen other working examples, but I tried a lot of things and still the fixed column width is not working on my table.
http://live.datatables.net/qadupaya/1/edit
Could someone give a quick hint?
I know I haven't set width in this example linked to, but it's because I couldn't make it work.
Thank you
- Jonas
This discussion has been closed.
Answers
Hi tekuila,
You needed to include the fixedColumns scripts and styling in your HTML. You also need to define the
fixedColumns
property in your initialisation. In the example I have done the following.I have linked the example here.
This will mean that your custom styling will need some adjustment for the floating header.
Hope this helps,
Sandy
Thanks! I tried to include fixedColumns etc, but didn't work.
I found that adding CSS "table-layout: fixed;" to the table was the solution.