Created
April 12, 2018 15:42
-
-
Save michal-turzynski/e3244abbf5de92801127c5dd0850e3b6 to your computer and use it in GitHub Desktop.
ADX Portals - Entity List js extentions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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