in the past weeks i was working with the DevExpress Grid. I fill a DataSet in my Visio-Addin with some visio shape data and Display the results in a gridview of a devexpress grid. Wenn the user changed the selection in my readonly grid i read the row data and i programmatically jump to the right page and zoom to the shape which is selected in the datagrid. After this Operation i set back the Focus to the grid with
Thgis switched the Focus back to the grid on my Dialog form, so the user was able to go from shape to shape by selecting the grids rows just with the Cursor up and down keys.
Now, the Situation has changed. I changed the grid from readonly to be editble and also i provided the FindPanel to be visible always. Now I Encounter some problems in my behaviour :
When a user enters a search value in the Find box, then the grid immidiately filters the rows. and sometimes (not after every char) i lost the Focus inside of the FIndPanel.
Example: THe user want to search for a string like "01.351" (-> a room number which is provided in on of the columns) then the user enters:
"0" + "1" -> and the Focus is still in the Find Panel
Once he enters the "." -> the Focus in the Find Panel get lost
And while the user is still thinking he is in the Find Panel and continues to enter "351" this values is set as an edited vaqlue to the active row cell .
So i am asking myself if i have any Options to programmatically set the Focus to the FindPanel of the grid.
So far i am calling the GridView-Focus() method in the end of the C olumnFilterChanged and SelectionChanged Event of the GridView.