GridView Editor Behavior Customizing
The Kettic DataGridView Control allows data entry, data editing, and data validation by using the data editors included in the Data Grid class. The data editor is able to edit data in each specific column type. There are various types of editors, including, KetticTextBoxEditor, KetticMaskedEditBoxEditor, KetticGridSpinEditor, KetticCheckBoxEditor, KetticDateTimeEditor, KetticComboBoxEditor, and KetticMultipleColumnBomboBoxElement.
Edit Grid Data Cells in C#.NET
To edit the cells in grid, we can switch the DataGridView Control from read only mode to edit mode. Then we can edit the cells in grid by beginning with entering content or pressing F2. However, the following conditions should be available while editing cells in grid.
GridView Editor Behavior Customizing in C#.NET
The Kettic DataGridView provides the support of customizing the look and behavior of GridView editors in C# Windows Forms template projects. The GridView offers the events, StartEditCell and InitializedCellEditor, to achieve the grid data cell customizing. The following are the detailed explanation of the two events.
The C# code below shows how to customize the spin editor to GridView control by changing the default border of the GridSpinEditor property.
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlGridView - Get Started in C#GridView - PropertiesGridView - ColumnGridView - RowGridView - CellsCells - AccessCells - PropertyCells - IterateCells - Conditional FormatCells - Format CellsCells - Set CellsCells - Painting & DrawingCells - Custom CellsGridView - EditorsEditors - PropertyEditors - EventsEditors - Data ValidationEditors - CustomizeGridView - Context MenuGridView - Populating with DataGridView - Hierarchical GridGridView - SelectionGridView - ScrollingGridView - SortingGridView - GroupingGridView - FilteringGridView - Expression EditorInsert/ Update/ Delete RecordsGridView - View DefinitionGridView - Exporting DataStyling and AppearanceGridView - LocalizationSave and Load LayoutGridView - Print SupportWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |