X
    Categories: Fixes

How to prevent child rows closing in Datatable when refreshing content using AJAX?

Last updated: 20210818

Follow this:

https://datatables.net/forums/discussion/53712/re-open-collapsed-child-rows-after-ajax-reload

 

then also..

Also make sure your Datatable during initialization, is not using RESPONSIVE for a smooth experience as it would cause some glitching.

$options[‘responsive’] = true; // will cause blinking glitches during ajax refresh of datatable content

Bad Joe: