Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement