Load Row Details
Load Row Details

My table has dynamic columns every time a page is created.
I want to use Load Row Details feature.
Trying to prevent "sorting" on the column of the "+" icon to open details, does not work because I cannot define all columns in the init.
columns: [
{
className: 'details-control',
orderable: false,
data: null,
defaultContent: ''
},
How can I prevent that column from sorting if I cannot init the other columns that are constantly different?
This discussion has been closed.
Replies
How are you creating these columns? Can you add the details-control column to the build of these columns?
Alternatively you can use
columnDefs
for this column.Kevin
That worked!
Thank you!