SlickGrid Column picker - Event for show or hide column after clicking checkbox
SlickGrid Column picker - Event for show or hide column after clicking checkbox
http://stackoverflow.com/questions/19725250/is-it-possible-to-show-and-hide-some-slickgrid-columns-on-button-click
I have below columns default var columns = [{ id: 'name' , field: 'name' , name: 'Device Name' , width: 100 }, { id: 'lastComm' , field: 'lastCommunication' , name: 'Last Communication' , width: 130 , headerCssClass: 'last-communication' , formatter : this.lastCommunicationFormatter },{ id: 'esn' , field: 'esn' , name: 'ESN' , width: 80 }]
Using Header Column picker user check or uncheck the 'Last Communication' column i have to call one function how to do it?
use grid.setColumns() like the StackOverflow article says