cancel
Showing results for 
Search instead for 
Did you mean: 

UI Script to Hide Columns Not Working

former_member183363
Active Contributor
0 Kudos
174

Hi all,

I've got a custom OWL, and I'd like to hide columns if there's no data in them. I found a thread on here with a script, which I've stuck in:

So as far as I can tell, if the value of said column (I've aligned the screens so you can see it in the data view) is nothing, the visibility is false; otherwise, it's set to true. But here's what I've got in ByDesign...

Clearly, Mon Drop is empty...but it's not hidden. Ideas?

Lewis

View Entire Topic
former_member183363
Active Contributor
0 Kudos

Never mind --- Pradeep solved it a different way in

former_member186648
Active Contributor
0 Kudos

use the following: result = true; for i in 0..($data.DataList.RowCount) rw = $data.DataList.Get(i).MondayVanRouteDrop; if ( rw == "" ) result = false; break; end end result = result; Thanks, Pradeep