cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dhinesh28R
Post Partisan
Post Partisan

Dynamically add rows in a Powerapps Forms

Hi,

 

I have an one Sp List 10 columns like Following,

 
S1R1S2R2S3R3S4R4S5R5

 

Now i need to show this column in Forms like following,

P1.png

 

But first i need to show only two rows in a form when app open. After that i have a Button in my screen.

And then when i click a Button after that Up to five rows add one by one dynamically.

 

Is it possible?

How to do this?

 

Thanks,

Dhinesh

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @Dhinesh28R ,

 

Please try below method:

1\ OnVisible of the Screen:

 

UpdateContext({AddRows:2})

 

 

2\ OnSelect of the Add button:

 

UpdateContext({AddRows:AddRows+1})

 

 

3\ OnVisible of the first row data cards:

 

If(AddRows >=1, true)

 

 

4\ OnVisible of the second row data cards:

 

If(AddRows >=2, true)

 

 

5\ The data cards in the following rows and so on.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

View solution in original post

2 REPLIES 2
v-jefferni
Community Support
Community Support

Hi @Dhinesh28R ,

 

Please try below method:

1\ OnVisible of the Screen:

 

UpdateContext({AddRows:2})

 

 

2\ OnSelect of the Add button:

 

UpdateContext({AddRows:AddRows+1})

 

 

3\ OnVisible of the first row data cards:

 

If(AddRows >=1, true)

 

 

4\ OnVisible of the second row data cards:

 

If(AddRows >=2, true)

 

 

5\ The data cards in the following rows and so on.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

View solution in original post

Hi @v-jefferni,

This is what i expected.. Now working fine.

 

Thanks,

Dhinesh

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (3,085)