cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
andrew_x_childr
Nintex Newbie

Hide List View control when empty?

I'm trying to set up some rules to hide a List View control when nothing is showing up in it.  (Specifically, when nothing is showing up in the view set up on the library referenced in the List View control settings.)  I can't find any good way to target it, though.  I tried setting a rule on the control to hide the control if isNullOrEmpty({Self}), but I found that that rule hides the entire control no matter what.

Is there any way to set up rules affecting List View controls?  It seems like you can't name them or target their properties.  Any ideas?

Reply
2 Replies
Automation Master
Automation Master

Re: Hide List View control when empty?

I would say you will have to write your own javascript function that determines  whether listview is empty or not.

then you can base the rule or custom validation on result of that function.

0 Kudos
Reply
BrianK
Nintex Newbie

Re: Hide List View control when empty?

Has anyone tackled this yet that would like to provide the code?

0 Kudos
Reply