specify in aaData array if a column can be visible or not ?

specify in aaData array if a column can be visible or not ?

fas3rfas3r Posts: 2Questions: 1Answers: 0

Hello,

is it possible to specify in aaData array which is used to build the table if a column have to be visible hidden ? Or if it have to be done after the creation of the table ?

Best Regards,
fas3r.

Answers

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin

    You can use the API to set the column visibility after initialisation (column().visible()), however, it isn't something that you can specify in aaData as such. You could provide the information needed in the JSON data in a different property and then use the API in initComplete perhaps.

    Allan

  • fas3rfas3r Posts: 2Questions: 1Answers: 0

    Hello Allan,

    Ok it's what I've done already.

    Thank you for your help anyway.

This discussion has been closed.