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 / Power Apps Grid Contro...
Power Apps
Answered

Power Apps Grid Control - Model Driven App - Multiple Issues

(0) ShareShare
ReportReport
Posted on by 323
I have enabled Power Apps Grid Control for certain views in my model driven app. It looks likes we can only add the component to views and not to the table as a whole. This is the first issue as we want this to apply to the whole model driven app.
 
The main reason we want to use this component is to show the OptionSet colors in the views. This works fine. We also added the option for end users to re-order the columns. Now as soon as the user re-orders the columns, the optionset colors stop working.
 
Next, when the user wants to save a new personal view in the model driven app, again the optionset colors on the columns stop working.
Categories:
I have the same question (0)
  • Verified answer
    MParikh Profile Picture
    480 Super User 2026 Season 1 on at
    What I can summarize from your question are below three thing. Also ask user if they do hard refresh still issue pertain regarding color. Sometimes this issue resolve after refresh. Feel free to add more questions if you still getting an issue.
    1. “Grid control only on views (not the whole table)”
      You can apply the Power Apps grid control at the table level so it’s used by all main grids (all views) for that table, not just individual views. When configured on the table’s Controls tab, every view for that table renders with the Power Apps grid (and therefore the OptionSet colors capability). Microsoft Learn

    2. OptionSet colors vanish after users re-order columns
      The colors are driven by the Power Apps grid’s Enable OptionSet colors property. When users re-order columns, the grid persists a per-user layout. In some orgs this personalization can break the color rendering in the current build (a product quirk tied to the Allow column reordering setting). Workarounds below. The OptionSet colors feature itself is documented as a grid property. Microsoft Learn

    3. OptionSet colors vanish on newly saved personal views
      If you only added the grid control on specific views, any newly created personal view won’t inherit that control and will render without OptionSet colors. Applying the Power Apps grid at the table level fixes this for all (system and personal) views. Microsoft Learn

    Also note: if icons/colors disappear broadly (after updates), Microsoft’s troubleshooting guidance points back to verifying the Power Apps grid control is active for the table and that Enable OptionSet colors = Yes, and to check solution layering. Microsoft Learn

  • psreek Profile Picture
    323 on at
    Thanks. Adding at the table level resolved the issue. Did not realize that some settings are still only available in classic mode. 
  • MParikh Profile Picture
    480 Super User 2026 Season 1 on at
    I am gald it help. 
  • psreek Profile Picture
    323 on at
    Interestingly, this worked only in DEV within our unmanaged solution. When we tried to deploy the solution to production, the deployment pipeline came up with this error - 
     
    ImportAsHolding failed with exception :Import failed: CustomControl import default config failed to update, because of error Property NumberOfListColumns is not declared in the control manifest. More Details:Parent Type:Custom Control Default Config;Parent Id:9fea7ae0-9f9f-4257-a377-1f6c92050d5f;Associated entity:Account;Control Description Xml:<controlDescription><customControl id="{E7A81278-8635-4d9e-8D4D-59480B391C5B}"><parameters /></customControl><customControl name="MscrmControls.Grid.PCFGridControl"><parameters><data-set name="Items" /><ColumnResizing static="true" type="Enum">PlaceholderString</ColumnResizing><ColumnMoving static="true" type="Enum">PlaceholderString</ColumnMoving><ColumnPinning static="true" type="Enum">PlaceholderString</ColumnPinning><RowStyle static="true" type="Enum">PlaceholderString</RowStyle><RowSelection static="true" type="Enum">PlaceholderString</RowSelection><SelectionColumn static="true" type="Enum">PlaceholderString</SelectionColumn><JumpBar static="true" type="Enum">PlaceholderString</JumpBar><Footer static="true" type="Enum">PlaceholderString</Footer><ReflowBehavior static="true" type="Enum">PlaceholderString</ReflowBehavior><EnableFiltering static="true" type="Enum">PlaceholderString</EnableFiltering><EnableRangeSelection static="true" type="Enum">PlaceholderString</EnableRangeSelection><NavigationTypesAllowed static="true" type="Enum">PlaceholderString</NavigationTypesAllowed><RowHeight static="true" type="Whole.None">PlaceholderString</RowHeight><RowHeightMobile static="true" type="Whole.None">PlaceholderString</RowHeightMobile><HeaderHeight static="true" type="Whole.None">PlaceholderString</HeaderHeight><GridInnerLeftPadding static="true" type="Whole.None">PlaceholderString</GridInnerLeftPadding><GridInnerRightPadding static="true" type="Whole.None">PlaceholderString</GridInnerRightPadding></parameters></customControl><customControl formFactor="0" name="Microsoft.PowerApps.PowerAppsOneGrid"><parameters><data-set name="Items"><columnsDefaultView>PlaceholderString</columnsDefaultView></data-set><EnableEditing static="true" type="Enum">PlaceholderString</EnableEditing><DisableChildItemsEditing static="true" type="Enum">PlaceholderString</DisableChildItemsEditing><EnableFiltering static="true" type="Enum">PlaceholderString</EnableFiltering><EnableSorting static="true" type="Enum">PlaceholderString</EnableSorting><EnableGrouping static="true" type="Enum">PlaceholderString</EnableGrouping><EnableAggregation static="true" type="Enum">PlaceholderString</EnableAggregation><EnableColumnMoving static="true" type="Enum">PlaceholderString</EnableColumnMoving><EnableMultipleSelection static="true" type="Enum">PlaceholderString</EnableMultipleSelection><EnableRangeSelection static="true" type="Enum">PlaceholderString</EnableRangeSelection><EnableJumpBar static="true" type="Enum">PlaceholderString</EnableJumpBar><EnablePagination static="true" type="Enum">PlaceholderString</EnablePagination><EnableDropdownColor static="true" type="Enum">PlaceholderString</EnableDropdownColor><EnableStatusIcons static="true" type="Enum">PlaceholderString</EnableStatusIcons><EnableTypeIcons static="true" type="Enum">PlaceholderString</EnableTypeIcons><NavigationTypesAllowed static="true" type="Enum">PlaceholderString</NavigationTypesAllowed><ReflowBehavior static="true" type="Enum">PlaceholderString</ReflowBehavior><ShowAvatar static="true" type="Enum">PlaceholderString</ShowAvatar><NumberOfListColumns static="true" type="Whole.None">PlaceholderString</NumberOfListColumns><ShowFooter static="true" type="Enum">PlaceholderString</ShowFooter><ShowColumnHeaders static="true" type="Enum">PlaceholderString</ShowColumnHeaders><ContextualLookupColumnFilters static="true" type="Enum">PlaceholderString</ContextualLookupColumnFilters><LookupFilterBeginsWith static="true" type="Enum">PlaceholderString</LookupFilterBeginsWith><UseFirstColumnForLookupEdits static="true" type="Enum">PlaceholderString</UseFirstColumnForLookupEdits><DateTimeFormat static="true" type="Enum">PlaceholderString</DateTimeFormat><DateOnlyFormat static="true" type="Enum">PlaceholderString</DateOnlyFormat><EnableStatusColumn static="true" type="Enum">PlaceholderString</EnableStatusColumn></parameters></customControl><customControl formFactor="1" name="Microsoft.PowerApps.PowerAppsOneGrid"><parameters><data-set name="Items"><columnsDefaultView>PlaceholderString</columnsDefaultView></data-set><EnableEditing static="true" type="Enum">PlaceholderString</EnableEditing><DisableChildItemsEditing static="true" type="Enum">PlaceholderString</DisableChildItemsEditing><EnableFiltering static="true" type="Enum">PlaceholderString</EnableFiltering><EnableSorting static="true" type="Enum">PlaceholderString</EnableSorting><EnableGrouping static="true" type="Enum">PlaceholderString</EnableGrouping><EnableAggregation static="true" type="Enum">PlaceholderString</EnableAggregation><EnableColumnMoving static="true" type="Enum">PlaceholderString</EnableColumnMoving><EnableMultipleSelection static="true" type="Enum">PlaceholderString</EnableMultipleSelection><EnableRangeSelection static="true" type="Enum">PlaceholderString</EnableRangeSelection><EnableJumpBar static="true" type="Enum">PlaceholderString</EnableJumpBar><EnablePagination static="true" type="Enum">PlaceholderString</EnablePagination><EnableDropdownColor static="true" type="Enum">PlaceholderString</EnableDropdownColor><EnableStatusIcons static="true" type="Enum">PlaceholderString</EnableStatusIcons><EnableTypeIcons static="true" type="Enum">PlaceholderString</EnableTypeIcons><NavigationTypesAllowed static="true" type="Enum">PlaceholderString</NavigationTypesAllowed><ReflowBehavior static="true" type="Enum">PlaceholderString</ReflowBehavior><ShowAvatar static="true" type="Enum">PlaceholderString</ShowAvatar><NumberOfListColumns static="true" type="Whole.None">PlaceholderString</NumberOfListColumns><ShowFooter static="true" type="Enum">PlaceholderString</ShowFooter><ShowColumnHeaders static="true" type="Enum">PlaceholderString</ShowColumnHeaders><ContextualLookupColumnFilters static="true" type="Enum">PlaceholderString</ContextualLookupColumnFilters><LookupFilterBeginsWith static="true" type="Enum">PlaceholderString</LookupFilterBeginsWith><UseFirstColumnForLookupEdits static="true" type="Enum">PlaceholderString</UseFirstColumnForLookupEdits><DateTimeFormat static="true" type="Enum">PlaceholderString</DateTimeFormat><DateOnlyFormat static="true" type="Enum">PlaceholderString</DateOnlyFormat><EnableStatusColumn static="true" type="Enum">PlaceholderString</EnableStatusColumn></parameters></customControl><customControl formFactor="2" name="Microsoft.PowerApps.PowerAppsOneGrid"><parameters><data-set name="Items"><columnsDefaultView>PlaceholderString</columnsDefaultView></data-set><EnableEditing static="true" type="Enum">PlaceholderString</EnableEditing><DisableChildItemsEditing static="true" type="Enum">PlaceholderString</DisableChildItemsEditing><EnableFiltering static="true" type="Enum">PlaceholderString</EnableFiltering><EnableSorting static="true" type="Enum">PlaceholderString</EnableSorting><EnableGrouping static="true" type="Enum">PlaceholderString</EnableGrouping><EnableAggregation static="true" type="Enum">PlaceholderString</EnableAggregation><EnableColumnMoving static="true" type="Enum">PlaceholderString</EnableColumnMoving><EnableMultipleSelection static="true" type="Enum">PlaceholderString</EnableMultipleSelection><EnableRangeSelection static="true" type="Enum">PlaceholderString</EnableRangeSelection><EnableJumpBar static="true" type="Enum">PlaceholderString</EnableJumpBar><EnablePagination static="true" type="Enum">PlaceholderString</EnablePagination><EnableDropdownColor static="true" type="Enum">PlaceholderString</EnableDropdownColor><EnableStatusIcons static="true" type="Enum">PlaceholderString</EnableStatusIcons><EnableTypeIcons static="true" type="Enum">PlaceholderString</EnableTypeIcons><NavigationTypesAllowed static="true" type="Enum">PlaceholderString</NavigationTypesAllowed><ReflowBehavior static="true" type="Enum">PlaceholderString</ReflowBehavior><ShowAvatar static="true" type="Enum">PlaceholderString</ShowAvatar><NumberOfListColumns static="true" type="Whole.None">PlaceholderString</NumberOfListColumns><ShowFooter static="true" type="Enum">PlaceholderString</ShowFooter><ShowColumnHeaders static="true" type="Enum">PlaceholderString</ShowColumnHeaders><ContextualLookupColumnFilters static="true" type="Enum">PlaceholderString</ContextualLookupColumnFilters><LookupFilterBeginsWith static="true" type="Enum">PlaceholderString</LookupFilterBeginsWith><UseFirstColumnForLookupEdits static="true" type="Enum">PlaceholderString</UseFirstColumnForLookupEdits><DateTimeFormat static="true" type="Enum">PlaceholderString</DateTimeFormat><DateOnlyFormat static="true" type="Enum">PlaceholderString</DateOnlyFormat><EnableStatusColumn static="true" type="Enum">PlaceholderString</EnableStatusColumn></parameters></customControl></controlDescription>;Control Reference Xml:;Error Message:-2146041800;Additional Information:;.
     
  • psreek Profile Picture
    323 on at
    So the Power Apps Grid Control in my production environment was on version 1.1.232 while my dev was on 1.1.234. Between the two version, there was a difference in the property - NumberOfListColumns
     
    There is no way for me to update the solution which seems to be hidden. The solution is called BaseCutomControlsCore.
     
    Anyways all of a sudden, today the production has been updated to 1.1.235 version while DEV still remains at 1.1.234. But it looks like at least the property NumberOfListColumns is now available in production.

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard