General information
Title:
Position Datagrid to 1st row, but
Hi,
Uaing framework, Windows Form and Vb .net.
I have a datagrid in my form and would like to select the first row when my search fails. Using the following code it positions the row pointer to row 0 but the hilited row is still hilited below the row 0.
Me.BindingContext(Me.Pending01_DS1, "Listing").Position = 0
Me.dgPending.CurrentRowIndex = 0
Me.dgPending.Refresh()
How do you set the row position and the row hiliter to the same row?
Thanks
Roland
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only