Home › Forums › WinForms controls › Xceed Grid for WinForms › Why can I get CurrentRow.Index?
I need to get the index of the CurrentRow in a Xceed Grid…but I can’t figure how to do it since Index is not a CurrentRow property. Do you know how to do it? Thanks in advance
Imported from legacy forums. Posted by icdsuarez (had 2545 views)
The Index property belongs to the DataRow class. Therefore, you need to make sure that your CurrentRow is a DataRow, if it is then cast it as a DataRow and retrieve its index.
I hope this is the information you were looking for.
Imported from legacy forums. Posted by Jenny [Xceed] (had 278 views)
Thanks so much for your help
Imported from legacy forums. Posted by icdsuarez (had 3565 views)