Hi Anthony,
We have analyzed your query and you can achieve your requirement in GridDataControl using VisibleColumns collection.
Please refer the below code example.
C#
this.grid.VisibleColumns.Add(new GridDataVisibleColumn() { MappingName = "Name", HeaderText = "name" }); |
We have recommended you to use only SfDataGrid in your application and currently we have implemented many features in SfDataGrid. SfDataGrid has been designed based on the template-based architecture which provides support to customize the datagrid easily. Comparatively, the performance of SfDataGrid control is better than the GridDataControl.
Regards,
Srinivasan