Skip to main content

Notifications

Customer Service forum
Suggested answer

Subgrid columns shrink when selected

Posted on by 39

Hi all, 
A strange thing happens in the subgrids of a form (about 10 subgrids).
When one or more records are selected, the subgrid columns all shrink together.

Before selection: 

Grid-auto-resize_5F00_1.png


After selection:

Grid-auto-resize_5F00_3.png


Only a refresh of the page brings the columns back to their initial size.

There is no custom javascript that interacts with the subgrids, no subgrid has been modified in any way.
Standard configurations only: creation of column views and placement in the form.

The problem occurs on all 10 subgrids of the form.

Anyone know what this problem could be and how to fix?
Thank you in advance!

  • vanfog Profile Picture
    vanfog 30 on at
    RE: Subgrid columns shrink when selected

    Hi Rahul,

    As you can see in my screenshot, there is an option to show the chart. But this column sizing issue happens even when I'm not showing charts.

    This doesn't happen on the old grid control, just the new Power Apps Grid Control.

    This is also occurring sometimes with subgrids.

  • Suggested answer
    Rahuldubey Profile Picture
    Rahuldubey 105 on at
    RE: Subgrid columns shrink when selected

    It looks like, when you select record it is loading OOB Chart control on left which is expected, you need to have settings disabled on view property to not show chart 

    do you see any hide to show chart option on top ribbon after selecting record ? 

  • GKilpatrick Profile Picture
    GKilpatrick 40 on at
    RE: Subgrid columns shrink when selected

    Yes I'm still having this issue.  My version is now 9.2.22101.00154 so way passed the scheduled one to tix.  Thanks, GK

  • vanfog Profile Picture
    vanfog 30 on at
    RE: Subgrid columns shrink when selected

    I'm experiencing the same issue with the new (Preview) Power Apps grid control.

    Very frustrating. I am using the latest 2022 Release Wave updates.

    Here's a screenshot:

    pastedimage1666573616954v1.png

  • usersm365 Profile Picture
    usersm365 39 on at
    RE: Subgrid columns shrink when selected

    Even after the 2022 wave 2 update I can confirm that the problem has not been solved. Have others encountered this problem?

  • usersm365 Profile Picture
    usersm365 39 on at
    RE: Subgrid columns shrink when selected

    Thank you Leah,

    where can I find this kind of info?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Subgrid columns shrink when selected

    Hi Partner,

    The latest response from Microsoft: It is one Known issue.

    Fix is expected to be released on the weekend of October 7th with build 9.2.22092.00178

  • usersm365 Profile Picture
    usersm365 39 on at
    RE: Subgrid columns shrink when selected

    Hi Leah thanks for the reply.
    I tried to follow the suggestion but with that control the grid is always shrinked.
    In the "Properties / Value" options I left everything by default, did you make any changes?

    Below is a summary with the tested controls and the effects on the subgrid.
    Unfortunately none of them leave the grid extended as it should be in normal mode.

    "Readonly grid (default) control"
    - Start: extended
    - If I select a record: shrinks
    - On page load: returns extended

    "(Preview) Power App grid control"
    - Start: shrinked
    - If I select a record: it stays shrinked
    - On page loads: it stays shrinked

    "Power App readonly grid control"
    - Starts: extended but shrinks after half a second
    - If I select a record: it stays shrinked
    - On page load: it stays shrinked

    Do you suggest other solutions to solve the problem?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Subgrid columns shrink when selected

    Hi Partner,

    Maybe you need change control for the sub-grids, I will encounter the same situation if I use the default control in the sub-grid.

    When i select '(Preview)Power apps grid control' control in the sub-grid, the sub-grid columns not shrink again:

    Go Settings > Customizations > Customize the system > Entities > Forms, open one main form of the entity you are using, double-click the sub-grid, naviagte to 'Controls' tab in the dialog:

    pastedimage1664509971911v2.png\

    Save and Publish,

    Test Result:

    pastedimage1664510122350v3.png

    pastedimage1664510142070v4.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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,782 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,067 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans