Closed alanngnet closed 8 years ago
I fixed the issue and thus suggest adding the following to your plugin at v. 1.0.1 line 83
dt.on('xhr.dt',function ( e, settings) {
self.mergeCellsNeeded = true;
})
Thanks. I only added required event handlers. The users update the use cases so suggest to handle more events.
On line 73 of your version 1.0.1 you listen for an event called 'preDraw.dt':
I'm observing that this event does not fire after reloading the ajax source using
table.ajax.reload();
- although the table correctly reloads and displays the newdata, rowsGroup fails to merge the same neighboring duplicate cells that it succeeded in merging on the initial page load.Possibly relevant: my code has its own listener on the table's "draw.dt" event, although it simply runs a function that does not mess with the table itself. Is there a hook in your plugin that I should be using to trigger rowsGrouping to work in my listener function?