Dear developers,
we noticed that there is missleading behavior, when changing the view of an entitylist:
-the filters will reset, but remain selected
anyone experiencing the same issue?
how to solve this?
can we hook into a viewselection event?
this event
$(".entitylist.entity-grid").on("loaded", function () {
will not work because it will introduce even more confusion.
be blessed
Ferdi
Dear Developers,
after the microsoft-support added this issue to their tasks to fix, we can now safely assume that this behavior is by design, however a design that is not thought to the end?
with some distance to the topic i was now able to implement a workaround:
$(document).ready(function () {
$(".entitylist.entity-grid").on("loaded", function () {
console.log($('#filterDropdownId > ul > li > a'));
$('#filterDropdownId > ul > li > a').each(function (i, e) {
console.log("registering onclick for view");
$(this).on("click", function () {
console.log("view clicked");
global.need2reapply = true;
});
});
if (global.need2reapply) {
global.need2reapply = false;
console.log("reaplying filter");
$('.btn-entitylist-filter-submit').click();
}
});
});
hope i could help!
Hi @nerdifand would you mind providing a little bit more information on this issue? I can't quite understand the question and, by the number of views/lack of response, it seems like members from our community need a little more be to able to help.
Thanks for your understanding
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43