Cell edit state

How can i check current state of the cell (in edit mode or not)

Thank you.

You can check if cell is in edit mode with following code:
if (grid.editor && grid.editor.cell == grid.cells(i,j).cell )