logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Mycroft  
#1 Posted : Monday, August 21, 2017 10:37:08 PM(UTC)
Mycroft

Rank: Member

Groups: Registered
Joined: 2/25/2017(UTC)
Posts: 13
Mexico
Location: Monterrey

Hi

Is it possible to hide a view by code? I have two views that refresh every 30 seconds. But I need to hide one of the views when i get one special value and after that make it visible again after refresh.
Mycroft  
#2 Posted : Wednesday, August 23, 2017 9:43:25 PM(UTC)
Mycroft

Rank: Member

Groups: Registered
Joined: 2/25/2017(UTC)
Posts: 13
Mexico
Location: Monterrey

Found the solution. In the custom template of every view I validate the value of one restriction. Depending on the value I change the View css to "display:none" or let it use the CSS property.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.