- Create the Template for the Table: Start by creating a template for the table where you can edit columns. You need to include the editable fields like input text, input number, and input date.
- Define the Action Chain: Create an action chain for this process, which will manage the data operations.
- Define a Variable (currentRowBuffer): You need to define a variable named currentRowBuffer. Initially, it will be blank. This variable will hold the data of the current row.
- Map Editable Columns to Current Row Buffer: For each editable column in the table, map the value from the editable field (text, number, date) to the currentRowBuffer variable.
- Fire Data Provider: After mapping the data, trigger the data provider (e.g., an ADP) that is used in the table.
- Update the Data Provider: Once the data provider is triggered, pass the currentRowBuffer as a parameter in the update section of the provider.
- Map Key in ADP: In the ADP, map the key of the data with the currentRowBuffer to ensure that the update is applied correctly to the corresponding row.
— Written by Ankit Gandhi