resizing table headers does not resize table colReoderWithResize
resizing table headers does not resize table colReoderWithResize
Hi,
i am using the colReoderWithResize plugin, but it looks like it isn't build for the latest version of datatables (1.8.2)
When i resize the table header, the rest of the table keeps its original width. This is because the tabel is not realy one table but actuelay it is two (header and data).
the tabel used in the example is only one table. has someone a solution to fix this problem?
thanks in advance
i am using the colReoderWithResize plugin, but it looks like it isn't build for the latest version of datatables (1.8.2)
When i resize the table header, the rest of the table keeps its original width. This is because the tabel is not realy one table but actuelay it is two (header and data).
the tabel used in the example is only one table. has someone a solution to fix this problem?
thanks in advance
This discussion has been closed.
Replies
if(scrollXEnabled)
$($(tableScroller)[0].childNodes[0]).width(this.table_size + moveLength);
my table_size is 1364
and moveLength is 290
I do not know much about the datatables internals yet but the table size and move length (for this particular event) seem reasonable. I will keep digging.
I changed:
scrollingTableHead = $(tableScroller)[0].childNodes[0].childNodes[0].childNodes[0];
to:
scrollingTableHead = $(tableScroller)[0].childNodes[0].childNodes[0].childNodes[1];
Here's a dump of the hierarchy:
$(tableScroller)[0].childNodes[0].childNodes[0]
…
// ?????
$(tableScroller)[0].childNodes[0].childNodes[0].childNodes[0]
Text
$(tableScroller)[0].childNodes[0].childNodes[0].childNodes[1]
...
bugreport - do you see the same issue?
Allan