HA
haneefm
Syncfusion Team
June 13, 2007 07:01 PM UTC
Hi Dave,
The RowIndexToListManagerPosition is required if you have multi-row records as in the Grid\Samples\DataBound\MultiRowRecord sample. Otherwise, you can use the simpler RowIndexToPosition method to retrieve the position. Below is a code snippet
DataView dv = cm.List as DataView;
int position = this.grid.Binder.RowIndexToPosition(e.RowIndex);
DataRow dr = dv[position].Row;
Best regards,
Haneef
DW
Dave Wilkins
June 13, 2007 07:07 PM UTC
Thanks. I tried that and it seems to work.
You are a star - thanks for getting back to me so quickly.
>Hi Dave,
The RowIndexToListManagerPosition is required if you have multi-row records as in the Grid\Samples\DataBound\MultiRowRecord sample. Otherwise, you can use the simpler RowIndexToPosition method to retrieve the position. Below is a code snippet
DataView dv = cm.List as DataView;
int position = this.grid.Binder.RowIndexToPosition(e.RowIndex);
DataRow dr = dv[position].Row;
Best regards,
Haneef