44
Views
4
Comments
Removing list item and adding back to drop down
Question

This is what my app looks like, How can I make it so when I press the - icon it removes the list item from the screen and adds the option back to the drop down

2024-07-31 14-04-13
Carlos Cardoso

Hi @Syeda Aliha Naeem 

To remove it's easy just use the function ListRemove and use the CurrentRowNumber from the one you pressed. 

To add in the dropdown it depends on how are you getting the data.

Please share the .oag file to see the code. 

2023-07-25 17-04-53
Mohit Sharma

Hi Syeda, 

You can use already available ListAppend and ListRemove action in logic tab.

2024-07-31 14-04-13
Carlos Cardoso

Hi @Syeda Aliha Naeem 

Created a app and i think this solves your problem. 

If you need more help, let me know. 


RemoveAndAddList.oap
UserImage.jpg
Syeda Aliha Naeem

I am doing the logic in service layer. (basically, separating the UI and Logic layer), This is how I did my insert. I tried your solutions but I am getting many errors.



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