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);
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?
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/
------------
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.
stampcoin
11
Muzammil Nawaz
8
Ajlan
6