Hello,
I'm trying to put a column on a form grid that acts like a button (either it is a button, or is clickable text), where the buttoncontrol.text() and the buttoncontrol.visible() will change according to certain conditions. For example: in Row 1 condition A is true, button.visible = false and button.text = 'empty string'. In Row 2 condition A is false, set button.visible = true and button.text = 'true'.
The data source on the form/grid is a View generated from a query. "Condition A" is a computed column on the view, ie "if Condition A, set button text = 'lorem ipsum' and visible = true".
How would you go about doing something like this? Is it possible to create a method call/override in the form to loop through the rows/buttons and check conditions per row, then set visible/text on a button, per row?
It needs to be clickable because clicking the enabled/visible button takes args from the row and links to another form based on those args. I have that bit working but I can't for the life of me figure out how to set text on a button per row, based on args from that row.
This is on a net new/custom form, view, and query.