Jun 13, 2014, 12:38 PM
This works: If user clicks an input field, focus stays on input field
This also works: If user clicks in the space between controls, focus is redirected to a textfield, avoiding the problem of pressing tab and the controls outside of the window being focused.
This is what i don't know how to do: If user clicks the grid, focus stays on the grid
Sorry, i'm not sure i understand. How to apply this for a grid?
This also works: If user clicks in the space between controls, focus is redirected to a textfield, avoiding the problem of pressing tab and the controls outside of the window being focused.
This is what i don't know how to do: If user clicks the grid, focus stays on the grid
I would recommend to try a similar thing that I did with inputs.
1
1
if(!e.getTarget('input'))