Hi, all
I'm relatively new to Appian and I need a bit of help.
I have an interface that displays a read only grid..
I use a record action which runs in a dialog box.
Once the record action is run, the grid refreshes and displays the data that has been entered.
I have a "Submit" button which I would like to hide whilst the read only grid has no data to display.
Any advice would be helpful.
Thanks
Stephen
Discussion posts and replies are publicly visible
HI stephenk0001, As Stefan said , you can use showWhen parameter of the button and you can use a!isNotNullOrEmpty function to check the data that feeds the grid. If you are using local variable to populate the data into grid then your condition would be something like below
a!buttonWidget(
showWhen:a!isNotNullOrEmpty(local!gridData)
),
or if you have other values then you can use those values also to decide the visibility of the button.
Remember Stephen Kane that a!isNullOrEmpty doesn't work with a CDT. For that, you will have to build your custom function.