Change serverSide value trough API
Change serverSide value trough API
kaspar
Posts: 2Questions: 2Answers: 0
Is there any way to change the serverSide option of a table trough the DT API?
I am struggling with a external data source that does allow me use server side pagination in most cases, but unfortunately returns an unlimited data set in other cases
This discussion has been closed.
Answers
Hi @kaspar ,
No - options like
serverSide
are set at initialisation, as they're fundamental to how the table behaves. They can't be change later. That said, you could have some code that determines your logic post-initialisation, thendestroy()
the table table and rebuild it.Cheers,
Colin