Notifications
Clear all

[Closed] Lock Cel in dataGridView?

 PEN

Is there a way to lock a cel so that it can’t be edited?

4 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

you can set cell’s ReadOnly flag to ON on CellMouseEnter event for example…

there is also cell’s Frozen flag… But I have no idea how it works and looks like in the view…

 PEN

Thanks, I’ll take a poke at those and see where I get.

1 Reply
(@track)
Joined: 11 months ago

Posts: 0

For example:

  
  (gridView_file_type.Item 1 0).OwningColumn.ReadOnly=true
 PEN

Thanks, I think that I found the same thing the end of Friday, just need to hook it up and see where it gets me.