02.03.2018, 18:51
(02.03.2018, 11:07)Erwin van der Zwart Wrote: Hi,
Use custom JS like below and add custom class 'hidebyknx' to your elements that needs to be included:
Code:$(function(){
grp.listen('1/1/1', function(object, state) {
if (state == 'value' && object.value == true) {
$(".hidebyknx").addClass("hide");
} else if (state == 'value' && object.value == false) {
$(".hidebyknx").removeClass("hide");
}
}, true);
});
BR,
Erwin
It works, thank you so much!
is there a list of applicable custom classes (knx and not knx)?
eg. I would need to refresh the values of the objects contained in a plan or widget when it is displayed and I do not want to bore you with too many requests