Posted 18 April 2019, 6:04 am EST
Hi,
I’ve Editable FlexGrid and a Submit button in my page. The requirement is when the grid is empty/any cell is in edit mode then the button should be disabled. Also need to capture the cancel event of the cell.
This looks simple. But below is the scenarios in it.
If the cell value is “ABC” and user wants to change it to “XYZ”. While pressing the “X” key on that cell the button should be disabled (becoz cell is in edit mode. If he pressing any non printable character keys like shift key, tab, ctrl etc then nothing should happen). If the user changed his mind and press Esc button in the middle of the change then the button needs to be enabled with the old value in the cell. One more thing is if he clicks our of the grid then the changes in the cell should be commit.
Please suggest your ideas.