web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Editable Grid Type gal...
Power Apps
Unanswered

Editable Grid Type gallery -multiple rows adding once select a add button

(0) ShareShare
ReportReport
Posted on by 101

I am trying to build a power app grid like gallery where user will add a data. i have created a collection using defaults property and used it in a gallery items property.

karthik26_1-1709723624416.png

 

in onchange of gallery inputs i am selecting load button.

karthik26_2-1709723724350.png

 

in add button,

 Set(varnewrecordscaff,Defaults('Scaffofing Calculator Results'));

 Set(varnumberscaff,1000000)

karthik26_3-1709723776563.png

but if i select add button two rows getting added once with id and other with no ID

 

karthik26_4-1709723883417.png

 

HOW TO SOLVE IT 

 

 

 

Categories:
I have the same question (0)
  • realwillwright Profile Picture
    772 Moderator on at

    Hi @karthik26 

     

    It looks like your collect is adding two records to the collection (ColScaffoldingdata), it is adding the defaults you set up and the ID number.

     

    realwillwright_0-1709726079827.png

    To fix it, remove either varnewrecordscaff or {ID:varnumberscaff}

    -------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

  • karthik26 Profile Picture
    101 on at

    If i enter any value in my gallery, it is automatically create another row 

    karthik26_0-1709726907924.png

    i typed a value two new rows created.

    karthik26_1-1709726965558.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard