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 / Inline editing auto re...
Power Apps
Suggested Answer

Inline editing auto resize the gallery row

(0) ShareShare
ReportReport
Posted on by 2
Hey all,
 
I need your help!
 
I have a requirement where user must be able to edit the text input control and save the data after leaving the field. The requirements are like this
  1. The gallery with table like structure 
  2. Multiline Text Input control to edit and auto save the changes
  3. No pop up window or form for editing the values
  4. Should extend the row size according to the text size
The Issue is…
  1. The Text input has no auto hight property which is making hard for increasing the template size 
  2. Use of label for editing won’t work as they don’t save the data
  3. Using label to show text and popping up text input to edit the data is not the requirement.
Could you please help me to resolve this or any suggestion would be really great!
 
Thank you in advance!
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at

    Use a Flexible height gallery so the row can change size.
    Inside the template, place a multiline Text Input; behind it (or off‑screen), place a Label with AutoHeight = true whose Text = TextInput.Text, same Width/Font/Size. Then set the input’s Height = Max(40, Label.Height + padding)
    Set the gallery’s TemplateSize (or a container Height) to a value that references the input’s Height (e.g., tiNotes.Y + tiNotes.Height + 12)
    For auto‑save when the user leaves the field, use TextInput.OnChange with a Patch/UpdateIf 
     
    Power Apps Flexible Height - Expand and Collapse Nested Gallery
    https://www.youtube.com/watch?v=AvGRlruMVnI
     
     ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard