Manually change datatable length not working

Manually change datatable length not working

irxn84irxn84 Posts: 12Questions: 5Answers: 0

Hi,

I want to manually change the actually displayed length. Background: The user can change some settings and when the user changes his settings, I want to change the length of the datatable manually.

This is what I tried:
datatable.length = 50;
datatable.state.save();
datatable.draw();

But nothing happens. What am I doing wrong?

Best regards,
Peter

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.