Is it possible to overwrite responsivePriority ?
Is it possible to overwrite responsivePriority ?
Hello,
I would like to ask if anyone knows how to overwrite the responsivePriority order hiding a column that has no data?
Example :
[
{ responsivePriority: 1, targets: 0 },
{ responsivePriority: 2, targets: 1 },
{ responsivePriority: 3, targets: 2 },
{ responsivePriority: 4, targets: 3 } ]
Let say that I want the above order but if target 2 has no data, I want it to be hidden.
Thanks in advance.
This question has an accepted answers - jump to answer
Answers
Hi @vitorleo80 ,
Unfortunately, that's not possible - the
columns.responsivePriority
is defined at table initialisation, and like most other configuration options can't be changed afterwards. You can, however, hide the entire column withcolumn.visible()
- this won't be responsively, it'll always be hidden.Hope that helps,
Cheers,
Colin
Thanks Colin