Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82127

Is there a callback function for Colresize?

$
0
0
Hi,

I am using the colreorderwithresize.js plugin. Everything works fine, but most of the times the table is not getting aligned with header when the header is resized. I am trying to figure out if there is a call back function associated with resize such that I can call oTable.fnAdjustColumnSizing() whenever resize happens.

somethinng like fnReorderCallback that gets invoked when reordering the columns ?

I tried adjusting column width using fndrawcallback but this creates performance issues when filtering the data (since this is invoked everytime a change happens to the table).

"fnDrawCallback": function(oSettings) {

setTimeout( function () {
oTable.fnAdjustColumnSizing();
}, 3000 );},

Thanks,
Barani

Viewing all articles
Browse latest Browse all 82127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>