Posted 31 October 2022, 12:20 am EST
Hi Thanks for the response, but the given solution does not work for below case.
1.when we click double click in the cell(bring the cell in edit mode)
2.Click outside the grid(in blank space)
3.Again single click in the cell
Actual result: The cell goes in edit mode.
Expected result : The cell should remain in read only mode and should not go in edit mode.
In read mode we have 2 buttons(eg b1, b2) in wjmo cell.
In edit mode we have other 2 different(eg up, del) buttons.
Pleas find below link where the similar kind of code is written(your given solution is also included in it).
1.Double click on cell(edit mode) 2 buttons up,del are seen
2.Click on up button
3.Click outside the grid (in blank space)
4.Again single click(on b1 button) on previously double clicked cell
Actual result : The cell goes in edit mode(up, del button are shown)
Expected result: The cell should not go in edit mode(b1,b2 buttons should be seen)