Open urprasu opened 7 years ago
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
SlickGrid Column picker - Event for show or hide column after clicking checkbox