PDA

View Full Version : [CLOSED] Hide / Show columns in Grid - Razor



MTSI
Aug 30, 2012, 9:21 AM
hi,

http://examples2.ext.net/#/GridPanel/ColumnModel/Ajax_Configuration/

Based on this example I am trying to show or hide column based on button click. I want to achieve this through JavaScript instead of using server side events. Please help me to achieve this.

Thanks in advance.

Daniil
Aug 30, 2012, 1:41 PM
Hi,

Please just set up an ID for the Column that you need to toggle and call:

App.Column1.hide();

To show please use the show method.