Thanks for the response. This example is great. Also, is there a way for syncfusion to save the changes once a user hides a column. For example, if a user hides a column and then exits the program, can syncfusion remember those changes so that the user doesnt have to hide the columns again.
Thanks,
Charlie
>Hi Charlie ,
Thanks for your continued interest in Syncfusion products.
You can use Model.HideCols[2] property of gridDataBoundGrid to show or hide the grid columns. Please refer to the following code snippet
//To hide Columns
this.gridDataBoundGrid1.Model.HideCols[2] =true;
//To show Columns
this.gridDataBoundGrid1.Model.HideCols[2] =false;
I have attached the sample for your reference. You can download the sample from the following page.
http://websamples.syncfusion.com/samples/Grid.Windows/F69376/main.htmPlease refer to the sample and let me know if this helps.
Regards,
Nagaraj