AD
Administrator
Syncfusion Team
September 6, 2006 10:38 AM UTC
Hi James,
Use the VisibleColumns property of the GridTableDescriptor to show / hide / move the columns in the grid. Below is a code snippet
//For hide the "Col0" column
this.grid.TableDescriptor.VisibleColumns.Remove("Col0");
//For show the "Col0" column
this.grid.TableDescriptor.VisibleColumns.Add("Col0");
//For move columns in a grid.
this.grid.TableDescriptor.VisibleColumns.Move(1,2);
Thanks,
Haneef