Creating add new row button in list view component

I am trying to build an app with List view component. I have added 3 components in the body of first container - two text inputs and one dropdown .
I basically want to add a button in the List view component , once i click on that button i want new row (new repeated container with 3 components ) to be added. How can i do that?

Hello @Neha_Arora and welcome to the community!

Does the button necessarily need to be a part of the List View?

Generally, the data source for the List View is what you are attempting to modify, so the button should be able to exist outside of the repeatable components but be setup to trigger a query/event that adds the new item to the list.

Would you mind sharing a little more about your use case and how you'd like the user flow to work? Also, knowing how you are populating the List View would be helpful to understand how you would like to update the list.

1 Like

Hi @pyrrho , thank you so much for replying. Yes in my use case button was supposed to be a part of list view. I have implemented my use case using variables and managing states.

2 Likes