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 / Freeze columns within ...
Power Apps
Unanswered

Freeze columns within single gallery

(2) ShareShare
ReportReport
Posted on by 12
I have an app that looks something like the one below (with approximately 60 additional columns). Here, the user can select a single record or multiple records based on the name (using the search box), and then select those rows using the 'check all' option or individual checkboxes. This allows the user to update the state and country based on the pre-populated dropdown values. Once submitted, these changes will be written to a SharePoint list.
 

Everything is working as expected, but the main problem is with the scrolling/freezing functionality. As I have close to 60 columns, State and City are somewhere between the 50th and 51st positions. I am using a slider to scroll to the right, and that's when things get complicated. The user loses visibility of the ID, customer ID, and customer name, which they have selected while updating the dropdown values. I tried to split this into multiple galleries and used up and down arrows for navigation, bringing these galleries into sync with each other, but that's impacting all other functionalities. Therefore, I want to stick to one single gallery.
 
Is there any workaround for implementing a freeze functionality for the first 5-6 columns?
Categories:
I have the same question (0)
  • Robu1 Profile Picture
    1,707 Super User 2026 Season 1 on at

    Hi  LB-08081540-0, 

     

    Thank you for choosing Microsoft Community.

     

    It sounds like you are dealing with a complex interface.

     

    Use a Data Table Control:

    Consider using a Data Table control instead of a Gallery, as it has built-in support for freezing columns.

    Custom Freeze Columns with Two Galleries:

    Create Two Galleries: One for the fixed columns (e.g., ID, customer ID, customer name) and one for the remaining columns.

    Sync Galleries: Use the same data source for both galleries to keep them synchronized.

    Align Galleries: Place the galleries side by side and align them properly.

    Scroll Synchronization: Use a slider or scroll bar to control the horizontal scroll of the second gallery.

    Horizontal Scrolling with Fixed Columns:

    Container for Fixed Columns: Create a container for the fixed columns and place the key identifiers inside it.

    Scrollable Container: Create another container for the scrollable part of the gallery and place the remaining columns inside.

    Sync Scroll: Use a slider or scroll bar to control the horizontal scroll of the scrollable container while keeping the fixed columns static.

     

    If this resolves the issue, Pls mark as solved to enable other users with a similar issue to find it. 

     

    Happy to help.

     

    Robu1🤩

  • LB-08081540-0 Profile Picture
    12 on at

    I have implemented everything mentioned under 'Custom Freeze Columns with Two Galleries,' but it is causing multiple functionalities that were working perfectly fine in one gallery to mess up:

    1. Unable to filter records from both galleries using the search box.
    2. Unable to submit changes using the submit button.
    3. Unable to select multiple items using the check box from both galleries

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard