Hi Gokulkumar,
Thanks for code sample. Here I have attached the sample for my application where I am taking values from database and when I assign datatable to grid it takes all the Columns from the datatable that what I don't want. So I removed one column but trouble I am getting is that I don't want header names as that of those are coming from the database I want these to be different one that is I want to set them manually from code behind.
Which is not working! Tell me any method by which this can be achieved?
Thanks and Regards,
Dhiraj K
>Hi Dhiraj,
I apologize for the delay in responding.
You can remove a particular column programmatically by using the following code snippet.
this.GridGroupingcontrol1.TableDescriptor.VisibleColumns.Remove("ColumnName");
However,Please have a look at our attached sample which illustrates the Column Removing and sorting of the particular column.
Forum_54712.zipPlease try this and Let us know if you need any other queries.
Regards,
Gokulkumar.B
GridTest20.zip