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

    Hi,

    When i do this code for dynamically changing the selected row of my grid, the rowselector cursor at left don’t move with the selected row :
    ‘**********************************************************
    Dim row As Xceed.Grid.DataRow = MyGrid.DataRows.Item(index)
    MyGrid.SelectedRows.Clear()
    MyGrid.SelectedRows.Add(row)
    ‘**********************************************************
    My row is well selected but the cursor of the rowselector is not opposite. Why ?

    Thx a lot.

    Pierrick

    Imported from legacy forums. Posted by Pierrick (had 2586 views)

    User (Old forums)
    Member
    Post count: 23064

    Try this:

    MyGrid.CurrentRow = row

    Imported from legacy forums. Posted by Ron (had 204 views)

    User (Old forums)
    Member
    Post count: 23064

    Works fine !

    Thx a lot

    Imported from legacy forums. Posted by Pierrick (had 3369 views)

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