71
Views
4
Comments
Delete Action

I am working in a Client project for request management. In a screen, there is a table from the entity. My requirements is as follows
1) There is dropdown in the table like below, if we click on delete and submit for that request ID. 

The row should be deleted only from that table but not with database. I have a boolean entity called "Delete Flag". I have to do use this and delete the data from the table in screen not in Database. 
Please share sample OML. It will be useful. 
Thank you in Advance

AJAY SAMINATHAN

2025-01-09 14-56-57
IQ78

Hi,

if your table is from database and the database table has deleteflag, u just need to filter the database table to populate the dropdown table.


2024-05-22 10-21-41
Mohammad Hasib

Hello Ajay,

As ibox replied you need to a filter whie populating the dropdown : deleteflag = False

Then on button click update the record as deleteflag = True. No need to delete the record.

At last refresh the UI.

Regards

2024-07-09 06-45-01
Adarsh

Hello Ajay,


In Your aggregate please add a Filter as "deleteflag = False" .

On button click just set that record's current  deleteFlag variable as True, and refresh the aggregate.


It will show you desired output.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.