Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
8716 | Nov 17,2003 10:37 PM UTC | Nov 19,2003 06:57 PM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
GridBoundRecordState rs = this.gridDataBoundGrid1.Binder.GetRecordStateAtRowIndex(gridRowIndex);
int pos = rs.Position;
CurrencyManager cm = (CurrencyManager) rs.ListManager;
DataRow dr = ((DataRowView)cm.List[pos]).Row;
Hopefully, you only need the actual object to do your work, and not its positin in the original table. If you need the to know the index in the original table, you would have to loop through the tables.Rows looking for the above dr.
Using our GridGroupingControl (available in teh upcoming 2.0 release), you will be able to map any row back to the original position. This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.