Load Row Details

Load Row Details

geebeetoogeebeetoo Posts: 26Questions: 6Answers: 0

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?

Replies

  • kthorngrenkthorngren Posts: 20,140Questions: 26Answers: 4,735

    My table has dynamic columns every time a page is created.

    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

  • geebeetoogeebeetoo Posts: 26Questions: 6Answers: 0

    That worked!

    Thank you!

This discussion has been closed.