editing settings on the fly
editing settings on the fly
talkitivewizard
Posts: 30Questions: 0Answers: 0
Is it possible to edit settings such as say sDom or sPaginationType on the fly or is it only possible to set them on instantiation of the object?
This discussion has been closed.
Replies
It's only possible to set these two parameters at initialisation time. You could modify the DOM "manually" if you wanted to once the table had been set up - DataTables wouldn't interfere with that, but it might be a little harder to change the paging type. You'd need to initialise whatever paging style you wanted and then change what DataTables thinks it is. Again possible, but not as easy as a simple function call.
Regards,
Allan