Data Editing Support for GridView
The Kettic DataGridView Control for Windows Forms provides powerful data editing functionalities. GridView users can easily restrict user interaction and data modification as necessary through the properties. Furthermore, it is easy to perform cell editing or data entry for end users at any time they need to manipulate the data. It also offers a very nice interface for end users to edit or insert data via an editor based on data type.
Restrict Grid Cell and Row Editing, Adding and Removing
The Kettic GridView C#.NET Component contains various properties for UI designer of the data grid to control the actions of end users of the GridView. For example, it is able to restrict user interaction and data modification including, rows editing and deleting, rows adding and positioning as well as columns editing. The following are the properties used for controlling the cell and rows data modification.
Editing Data in Multiple Grid Columns
The Kettic GridView WinForms control support the data editing in multiple grid columns, such as, the TextBoxColumn, CheckBoxColumn, ComboBoxColumn, DateTimeColumn, CommandColumn, DecimalColumn, ImageColumn, and the MaskBoxColumn. When the users are going to insert or update a new data record into grid, the Kettic GridView control will extract the values from the corresponding data editors of the element edited currently. The Kettic GridView ActiveEditor property can give you a reference to the data editor object.
Edit Data using C# KetticTextBoxEditor
The KetticCheckBoxEditor is able to display and enter text strings as well as edit data in Kettic GridViewTextBoxColumn. The KetticCheckBoxEditor will format the text string based on the setting of the FormatString property of the GridViewTextBoxColumn. Moreover, the ChangeValue and ChangedValue event will be fired on each text modification to the grid column.
Edit Data using C# KetticCheckBoxEditor
This KetticCheckBoxEditor editor is able to indicate the binary state of a cell value and edit data in KetticGridViewCheckBoxColumn. This editor is capable of displaying hierarchy grid element which is the child of the GridViewCheckBoxCellElement and will always display the cell element even if it is not the current editing element. Moreover, the ChangeValue and ChangedValue event will be fired on each action that changes the value to the cell.
Edit Data using C# KetticComboBoxEditor
The KetticComboBoxEditor editor allows the users to choose textual values from a predefined item list and editing data in the KetticGridViewComBoxColumn. The item list is bound to a data source by setting to the GridViewComboBoxColumn.DataSource property. When configuring the KetticComBoxEditor as a look up editor, the ValueMember property field will be persisted. Moreover, the ChangeValue and ChangedValue event will be fired on the modification of the chosen item in the combo box.
Edit Data using C# KetticDateTimeEditor
The KetticDateTimeEditor allows the users to choose or enter dates and edit data in the KetticGridViewDateTimeColumn. While using the KetticDateTimeEditor, the users can enter the date value as a text directly in the text box or choose the calendar from the drop down. The editor will format the loaded value based on the setting of the FormatString property of the column. Moreover, the ChangeValue and ChangedValue event will be fired on the modification of the date value.
Edit Data using C# KetticSpinEditor
This KetticSpinEditor allows the users to easily edit numeric values in the KetticGridViewDecimalColumn. The increasing button and decreasing button on the right side control the value in the editor. Moreover, the ChangeValue and ChangedValue event will be fired on the modification of the value.
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls