After adding a filterbar to a grid, I cannot set the initial focus to the grid. This means that RowLeave is not fired when leaving the first row.
I have attached your FilterBarGrid example with the following changes :-
- added bool useFilterBar.
Setting useFilterBar=false, shows that RowLeave fired when leaving first row
Setting useFilterbar=true, shows RowLeave NOT fired when leaving first row.
- added code to set inital focus at end of your SetTableIntoGridAndWireFilterBar function
- added RowLeave event handle that displays a message when leaving a row
I''ve tried all sorts of ways to get round this to no avail. Have you any ideas?
Not having RowLeave fired on the first row is my main problem.
Regards,
Mick
testFilterBarGrid_5266.zip