Data Grid supports various edit modes such as inline, dialog, and batch edit (cell editing). These provide an interactive UI to add and edit records. In addition, editing can be performed programmatically.
Bulk editing allows you to save the added, edited, and deleted records in a single request. This feature is used in the Data Grid by enabling the batch editing (cell editing) mode. This provides an Excel-like editing experience and saves all the changes.
The editor for a Data Grid cell can be specified by providing the edit type. The preferred editor can also be defined for specific columns.
The grid content always presents an empty “Add New Row” edit form during initialization, simplifying the process of adding a new record. Additionally, the “Add New Row” can be displayed at the top or bottom of the grid. After completing the form, pressing enter will add the record, facilitating a seamless addition of successive records.
While updating cells or rows, the Data Grid validates user inputs. This helps users to improve overall data quality by validating user input for accuracy and completion. The users can also customize validation criteria and message according to their requirement.