set editable rows

Hi-,

Is it possible to have different data access on different rows?



For example, I have 2 rows, but user can edit data only in one of them.

If it’s possible, how to set it up?





Thanks,

Oksana

You can just lock the row which must not be editable, can be done by locked attribute in xml ( <row locked=“true” ) or grid.lockRow command. Locked row can’t be edited, without relation to column types.

In most complex scenarious , you can use per-cell types, something similar to next


Readonly
Editable


The type attribute sets type of cell, so you can have editable and readonly cells in the same column