Skip to main content

Notifications

Community site session details

Community site session details

Session Id : kFzSTDdHFJb5Q9Fwe4vwFl
Power Pages - Power Apps Portals
Answered

How to add js for subgrid in power apps portal?

Like (0) ShareShare
ReportReport
Posted on 22 Jul 2020 14:57:42 by 4

How to add js for subgrid in power apps portal?

  • Verified answer
    oliver.rodrigues Profile Picture
    9,266 Most Valuable Professional on 22 Jul 2020 at 15:19:29
    Re: How to add js for subgrid in power apps portal?

    exactly .. if your form contains multiple subgrids.. you might consider finding your subgrid by index for example:

    var subgrid1 = $(".entity-grid").eq(0);

    var subgrid2 = $(".entity-grid").eq(1);

    var subgrid3 = $(".entity-grid").eq(2);

  • Dynamics System Profile Picture
    4 on 22 Jul 2020 at 15:15:03
    Re: How to add js for subgrid in power apps portal?

    Correct me if I am wrong , basically we can write js/Jquery one place for both main form and Subgrid as well, which will act based on the logic to find a grid element or form element? 

  • oliver.rodrigues Profile Picture
    9,266 Most Valuable Professional on 22 Jul 2020 at 15:11:17
    Re: How to add js for subgrid in power apps portal?

    Hi

     

    what exactly do you need your JS to do?

    I wrote a few blog posts that contains Entity List/Subgrid customization via JS. it might help:

     

    https://oliverrodrigues365.com/2020/07/19/power-apps-portals-javascript-tip-01-hide-show-elements/

    https://oliverrodrigues365.com/2020/05/13/power-apps-portals-adding-icons-to-entity-list-action-buttons-via-javascript/

    https://oliverrodrigues365.com/2020/05/03/power-apps-portals-entity-list-removing-sort-order-by-from-column/

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started