How to change ColumnsDefs using the ajax.url().load ?

How to change ColumnsDefs using the ajax.url().load ?

JekkillJekkill Posts: 1Questions: 1Answers: 0

Hello there.
I have a problem with changing the ColumnsDefs using the ajax.url().load.
I have one big datatable on webpage and block of filters, which changes the url and ajax.load it. There are a lot of data in some columns, so I want to give users the control to show full data in cells or part of it (suppose those cells have class 'not-extended'). By default users see part of data, when the page will be rendered. By clicking the button, user will have the ability to see full data in cells (this button remove class 'not-extended' for the whole table). The problem is when I'm trying to get the another page or filter data (using the ajax.load() function) - the data in columns will be partly visible, i.e. the cells have class 'not-extended' (even if the user clicked the button for full view)).
Is there any solution for this problem?

Answers

This discussion has been closed.