Dynamic column visibility
Dynamic column visibility
Hi all,
I have a problem visibility of the columns so I decided to write the forum after I waste a day :)
On my project column counts depends on the data from the database, so column count changes the value of the data..
I use colvis plugin as well. I wrote code like below
[code]
var columnLength = $('#entityTable').find('tr')[0].cells.length; // Ex: columnLength=6
var app = new Array();
for (i=3; i
I have a problem visibility of the columns so I decided to write the forum after I waste a day :)
On my project column counts depends on the data from the database, so column count changes the value of the data..
I use colvis plugin as well. I wrote code like below
[code]
var columnLength = $('#entityTable').find('tr')[0].cells.length; // Ex: columnLength=6
var app = new Array();
for (i=3; i
This discussion has been closed.
Replies
I may be wrong but should not { "bVisible": false, "aTargets": [ app ] } be something like { "bVisible": false, "aTargets": app } ?
You are right.. thank you so much :) It works right know.. :)