SelectionChanged in datagridview does not behave properly

0

I am developing an application in VB.NET 2010 in which I have a form, a datagridview that is filled with data. When I complete the DGV load I do the following:

Me.DataGridView1.ClearSelection()

Below I have a series of textboxes, combos, etc. It turns out that when I select an item in the DGV, all the controls are filled, but when I click the DGV, nothing happens, only in the second click the controls are filled.
I want to clarify that the logic of all the load of the controls I have it placed in the SelectionChanged of the DataGridView
That's fine ? or should I place it in another event of the DataGridView control?

    
asked by MNibor 16.08.2017 в 13:34
source

1 answer

0

Testing and testing comes to the solution that the event that I have to use is the CellMouseClick

    
answered by 16.08.2017 / 13:45
source