Set ColumnPosition

Hi, I know this is very stupid question but can anybody please tell me how to set the column postion at runtime.

2 Replies

AD Administrator Syncfusion Team June 5, 2006 03:43 AM UTC

Hi, The column position can be changed/set at runtime by calling the this.gridGroupingControl1.TableDescriptor.Columns.Move(int src, int dest) method. Let us know if you need any further assistance. Regards, Calvin.


AD Administrator Syncfusion Team June 5, 2006 05:13 PM UTC

If by setting the column position you mean setting the current cell to a particular column, then you can use the SetCurrent method on the record. this.gridGroupingControl1.Table.FilteredRecords[someRecordNumber].SetCurrent("comeColName");

Loader.
Up arrow icon