mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

i want to hide set of columns which will be saved in databsase #1114

Open meghshet opened 8 years ago

meghshet commented 8 years ago

hi, i want to hide columns i mean i want to set the width to 0 ,use will save set of columns using checkbox list and then while binding i will get the data and will hide those columns by extra function,i have achieved thsi but its hampering performance since i am looping through all columns in the grid and also i am maintaining an array for column width so that if user again want to show those columns then i would use those width.some how i have achieved but i need to improve the performance,please let me know a solution if i can directly bind and hide those columns without using loops . i have tried to break slick grid but it is difficult to break the code .please help

maxim-s-barabash commented 8 years ago

I think you can achieve this by using grid.setColumns