How to disable edit on grid


On a grid, the default behavior is on double, the cell goes into the edit mode, how to disable this ? I want to use this grid, just for rendering only.

Normally it controlled by column types, but if you need to have all grid in readonly mode - jsut add next line to the grid’s in init