Modify State Loading params, when there are no parms to load (first Datatable display)
Modify State Loading params, when there are no parms to load (first Datatable display)

Hi!
I'm trying to update some StateSave loaded params through stateLoadParams.
My problem is I need to do that only when it's first DataTable Display... So when there are no params to load because no states were saved.
Even if I disable sate saving then enable it again, stateLoadParams event seems to have params to load!
"stateLoadParams": function (settings, data) {
console.log(data);
}
How to detect the first datatable display in stateLoadParams event ?
Thanks!
This discussion has been closed.