Home Forums WinForms controls Xceed Grid for WinForms selectedRows.clear()

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

    Hi,

    Once my Grid loads up I use, selectedRows.clear(). Then when the user click on a row, I use the CurrentRowChanged event to do various things.
    However, I noticed when the first row on the grid is clicked this event does not fire. It’s like even though the row is not visibly selected, it’s still selected.
    How do I get around this?

    vb.net please,

    Thanks in advance.

    Imported from legacy forums. Posted by troy@querytool.com (had 563 views)

    User (Old forums)
    Member
    Post count: 23064

    There’s a difference between selected rows and the current row. There can only be 1 current row, but there can be multiple selected rows. The current row can be selected or not. After SelectedRows.Clear(), you should also set CurrentRow to null (Nothing in VB).

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

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