How to re-draw the table after columns have been reordered?
How to re-draw the table after columns have been reordered?
Hi folks,
I am using fixedColumns along with colReorder in order to lock the 1st column and also be able to sort/drag columns around. One thing I noticed is that when I drag the 1st - locked column the underlying table does reorder the columns bu the overlay locked column table remains in place. this makes it look like I have 2 times the same column until I refresh the page at which point the table is redrawn and works fine. Here is the video:
http://screencast.com/t/iGbVJq4rvG
My question is how can I force the redrawing of the table when columns are reordered? Is there an event I can listen to?
I am using fixedColumns along with colReorder in order to lock the 1st column and also be able to sort/drag columns around. One thing I noticed is that when I drag the 1st - locked column the underlying table does reorder the columns bu the overlay locked column table remains in place. this makes it look like I have 2 times the same column until I refresh the page at which point the table is redrawn and works fine. Here is the video:
http://screencast.com/t/iGbVJq4rvG
My question is how can I force the redrawing of the table when columns are reordered? Is there an event I can listen to?
This discussion has been closed.
Replies
[code]oColReorder: {
iFixedColumns: 1
}[/code]
to lock X many columns from the left to where they cannot be reorder/dragged. This fixes my problem.
Allan