jdtrent
(Joe D Trent)
#1
Hey,
Working in a UD02 screen, I’d like to collapse and disable a panel card based on the value of a field in UD02.
I thought about trying to bind the panel card to a dataview column and use row rules to disable the column.
Before I launch off on that, does anyone know a shortcut?
Thanks,
Joe
hmwillett
(Hannah Willett)
#2
“Programmatically” is a loose term in App Studio. 
Buuuut, if I recall, you can use the property-set widget, enter the panel ID or whatever it needs, then set the “expanded” property to true.
1 Like
hmwillett
(Hannah Willett)
#3
I did my example on a button click, but you can use whatever event you need.

2 Likes
jdtrent
(Joe D Trent)
#4
Thanks, Hannah. The row rule disables the panel card okay, but doesn’t collapse it.
hmwillett
(Hannah Willett)
#5
Row Rules isn’t appropriate for that.
You should be using an event.