Hello,
I have a Data Grid and am trying to use an Action Column for deleting and editing. How can I do this?
(See oml)
Thanks in advance
Hello Mahmoud, You can try the following
HI,https://success.outsystems.com/documentation/how_to_guides/development/outsystems_data_grid/how_to_use_the_outsystems_data_grid/Steps to Add Action Column in Data Grid
Open Your Module: Load your OML file in OutSystems Service Studio.
Add Action Column:
Add Edit and Delete Buttons:
Edit Button Logic:
Delete Button Logic:
Refresh Data Grid:
Hi Mahmoud,
You can use the following documentation to be familiar with the DataGrid widget. This is very useful even from the UI perspective
Data Grid Sample
Additionally, you can install the OutSystems Data Grid Sample from the forge to see how to implement the actions you want.
Outsystems DataGrid Sample
Hope it helps.
Best.
To use an Action Column in a Data Grid for deleting and editing rows, you can follow these steps:
1. Add the Action Column to the Data Grid:
2. Configure the Action Column:
3. Create the Client Actions for Edit and Delete:
4. Link the Buttons to the Actions:
5. Passing the Row Identifier:
For Delete Action:
Delete Client Action:
Configure Delete Button:
By following these steps, you'll have an Action Column in your Data Grid that allows you to edit or delete rows directly. Hope this helps.