Home Forums WinForms controls Xceed Grid for WinForms get Current Row number

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #14257 |

    hi all
    I’m wondering how I can get the Current Row Number in the Grid_ColumnChanging Event

    TIA
    beny

    Imported from legacy forums. Posted by beny (had 1818 views)

    User (Old forums)
    Member
    Post count: 23064

    I can’t find a ColumnChanging event on the GridControl. I can find one on the DataTable class. If it’s that one you mean, you can get the DataRow from the DataColumnChangingEventArgs argument that is passed to the event handler. To get the row number, use <b>table.Rows.IndexOf(e.Row)</b>.

    Imported from legacy forums. Posted by Tommy (had 3046 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.