FlexGrid for WinForms
Step 4 of 5: Allow/Prevent Editing
Show AllShow All
Hide AllHide All

Recall that we set the AllowEditing property of the first column to False. This prevents users from editing any cells in the first column. We would also like to prevent users from entering data in the second column of node rows. To do this, add the following code to handle the BeforeEdit event:

To write code in Visual Basic

To write code in C#

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback