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 Pages / How can I set the "Gri...
Power Pages
Answered

How can I set the "Grid CSS Class" to a lookup records grid (coming from a subgrid) ?

(0) ShareShare
ReportReport
Posted on by 520

The way we set the Grid CSS Class to a subgrid by going to the Subgrid Metadata, Advanced Settings, and we have this option

Robert94_0-1659631560300.png

now for the same subgrid, I have a lookup column, when opening that one also has a grid, can I set the Grid CSS class for that one?
Example of a Lookup Records Grid (opened from a subgrid)

Robert94_0-1659631715425.png

 

Categories:
I have the same question (0)
  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Robert94 

     

    Yes it is possible. But it requires some effort to achieve this. The idea here is to inspect the element and get the column name for the lookup column. 

    sample tutorial: 

    https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Hide-a-specific-element-in-the-Power-Apps-portal-Profile-page/bc-p/1665941#M1388 

     

    Then using portal management: 

     

    1. Upload a "Custom.css" web file under Content 

    2. Apply the CSS class with !important tag for the column which was inspected. 

    3. Hit save and close 

     

     

    ------------
    In Design studio

    1. Pres sync configuration and preview the website. And press "Ctrl+F5" 

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 56

#2
Valantis Profile Picture

Valantis 46

#3
rezarizvii Profile Picture

rezarizvii 35

Last 30 days Overall leaderboard