View Full Version : Lock Cel in dataGridView?
Is there a way to lock a cel so that it can't be edited?
|
|
denisT
08-14-2009, 04:51 PM
Is there a way to lock a cel so that it can't be edited?
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...
Thanks, I'll take a poke at those and see where I get.
Track
08-16-2009, 11:38 PM
Thanks, I'll take a poke at those and see where I get.
For example:
(gridView_file_type.Item 1 0).OwningColumn.ReadOnly=true
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.
CGTalk Moderation
08-17-2009, 01:22 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.