Using Custom Editors

The C1FlexGrid provides two single built-in editors: a checkbox for Boolean values and the C1FlexComboBox that extends a regular TextBox with autocomplete and list selection as described above.

You can create and use your own editors using the same mechanisms used to create custom cells that were described earlier in this document:

      Implement a custom CellFactory class and override the CreateCellEditor method to create and bind your editor to the underlying data value.

      Use XAML to specify a CellEditingTemplate for the columns that need the custom editors.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.