Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michal-turzynski/e3244abbf5de92801127c5dd0850e3b6 to your computer and use it in GitHub Desktop.
Save michal-turzynski/e3244abbf5de92801127c5dd0850e3b6 to your computer and use it in GitHub Desktop.
ADX Portals - Entity List js extentions
$(document).ready(function (){
$(".entitylist.entity-grid").on("loaded", function () {
$(this).children(".view-grid").find("td[data-attribute='accountnumber']").each(function (i, e){
var value = $(this).data("value");
// now that you have the value you can do something to the value
});
});
});
$(document).ready(function (){
$(".entitylist.entity-grid").on("loaded", function () {
$(this).children(".view-grid").find("tr").each(function (){
// do something with each row
$(this).css("background-color", "yellow");
});
});
});
//https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/entity-list/attributes-relationships/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment