Grid only some rows editable

Hello,

I am using grid with enabled edit mode.

I am searching a way to make only some rows editable and other not.

I tried to use Factory or FieldGroup but i can’t seem to be able to make it work.

I thought about using css and working it around but i am not very fond of the idea.