DOM changes in Server-side processing Datatable

DOM changes in Server-side processing Datatable

Ritikan23Ritikan23 Posts: 1Questions: 1Answers: 0

Hi,
I have created a server-side datatable, with a specific DOM

<'row'<'col-6'i><'col-6'f>>" +
"<'row'<'col-12'tr>>" +
"<'row'<'col-8'l><'col-4'p>>

Now, with all the DOM changes, like filter/length-change/pagination, the api to get that particular data runs. But recently, I included, 'Z' to the DOM for column-resize, and even on column resize, the api runs, which is uneccessary. Is there a way of stopping this API execution on column resizing?

Thanks in advance.

Answers

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    Hi @Ritikan23 ,

    We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.