Get row index
Hi There,
I would like to know how to get row index in this grid.
just like
Int iIndex = grid1.Rows.IndexOfKey("aa");
and column index also.
Just like
int iIndex = grid1.Columns.Indexofkey("Name");
Regards,
0
-
Hello,
Row row = grid.Rows[123];
int visibleIndex = row.VisibleIndex;
Column column = grid.Headers[0]["columnId"];
int columnVisibleIndex = column.VisibleIndex;Best regards,
Dapfor0
Please sign in to leave a comment.
Comments
1 comment