In Power apps portal you can use entity list to display a set of records from Dataverse. If you want to change the style of the list by using JavaScript or jQuery .
Let’s see how to do it.
The list normally appears like the below image, however depending on the needs of the business, List must be displayed in a different colour.
Navigate to the Portal Management app .Open the List and select Options Tab and copy paste the below code inside the JScript section.
//checks if document is ready
$(document).ready(function (){
//checks if list is loaded
$(“.entitylist.entity-grid”).on(“loaded”, function () {
//loop through all row of list
$(this).children(“.view-grid”).find(“tr:even”).each(function (){
$(this).css(“background-color”, “#8D918D”);
});
$(this).children(“.view-grid”).find(“tr:odd”).each(function (){
$(this).css(“background-color”, “#D1D0CE”);
});
});
});
Now save and sync configuration and reload the page. You will see the list like below page.
For any Help or Queries Contact us on info@crmonce.com or +918096556344.
Now Ι am going to do my breakfast, once having my breakfast coming yet again to read other news.
What’s up, for all time i used to check weblog posts here early in the dawn, since i enjoy
to gain knowledge of more and more.
Hey there would you mind letting me know which hosting company you’re utilizing?
I’ve loaded your blog in 3 completely different browsers and I must say this
blog loads a lot faster then most. Can you suggest a good web hosting provider at a reasonable
price? Thanks, I appreciate it!
After I initially left a comment I seem to have clicked on the -Notify me
when new comments are added- checkbox and now every time a comment is added I get 4 emails
with the exact same comment. There has to be a way you can remove me from
that service? Kudos!
I have read so many content on the topic of the blogger
lovers however this piece of writing is truly a pleasant article, keep it up.
This design is steller! You definitely know how to keep a reader entertained.
Between your wit and your videos, I was almost
moved to start my own blog (well, almost…HaHa!) Wonderful job.
I really enjoyed what you had to say, and more than that, how you presented it.
Too cool!