How can I make the entire column (with header) invisible in slick grid in runtime?

1,241 views
Skip to first unread message

Natalya Shekhtman

unread,
Aug 14, 2013, 1:50:15 PM8/14/13
to slic...@googlegroups.com

Hello:

I just started to use Slick Grid in my application and I like it.

How can I make the entire column (with header) invisible in slick grid in runtime?

I am using following function for the cell:

grid.getCellNode(row, columnNo).style.display = "none";

but behavior is the same as

grid.getCellNode(row, columnNo).style. visibility = " visible";

(column is not collapsed - how to fix this?)

And I still can’t find a way how to hide header column in runtime.

Eddie Shipman

unread,
Oct 28, 2013, 6:11:18 PM10/28/13
to slic...@googlegroups.com
Use the column picker control. all you have to do is include the slick.columnpicker.js file. Right click on the header and you can choose which columns to hide.
Reply all
Reply to author
Forward
0 new messages