Fix grid.js for readonly

Small fix for readonly grid, i think editInForm should not affect the edit action, also because cell editing disabled before when prohibitUpdate.
Merge pull request #106 from AlexKovynev/patch-6

Fix grid.js for readonly