The Inline Grid property is used with EditableTableColumn added to the Table element and allows you to not only view, but also edit and save data in your table. In order to use the Inline Grid feature, you need to add EditableTableColumn to the Table element.
To add Editable Table Column to Table element;
Adding an EditableColumn
EditableTableColumn, unlike regular TableColumn, is not editable during the design process and has standard properties. However, you can bind dynamic data to the column and make style edits of the column.
To bind a data source to the Table element to work with dynamic data in EditableTableColumn;
Binding data to Label in Editable Table Column
To bind dynamic data in the Label element in Editable Table Column;
In an example scenario, a table consisting of EditableTableColumns and containing the customer address and customer name looks like in Figure 3.
Example EditableTableColumn Usage
As shown in Figure 3, the first row of the Table element consisting of EditableTableColumns appears as if it is in edit mode. However, you can manage the Property and Styling settings of the elements in the columns.
When you preview or publish your application, you can switch to edit mode by double-clicking on the relevant row.
You can save values by pressing Enter or by clicking outside the table.
To save the values you edited, you need to save the new values with the action you defined in the on Row Edit Finished event of the Table element.
On Row Edit Finished is an event that is meaningful only in the Inline Grid property of the Table and is the event to define the actions that will be called to add/update records to the database when you finish editing the row.
In the On Row Edit Finished event, after the action that completes the record operation, it is necessary to redefine the action that is the data source of the table.
Let's run a sample scenario where customer address and customer name are listed in an editable structure.
Save Record Action Parameter Definition
With the Inline Grid feature in the applications you develop, you can not only display the data on the Table element, but also edit and save it, and add new functions to your application.