Hello, I'm running into an issue where I cannot disable the subview if there is no data in the subview to look at.
On my subview I have a parameter im passing through to the main view that says if there is data.
On the main view I was setting up a binding on the enable subview to switch off and on based on the value coming in, but it seems to ignore this and always block it.
The subview.enabled applies to the whole table, not individual rows. It can't do what you want.
It appears that you are passing in a comment but your expression is checking for a numerical value (but it won't work anyway).
Instead modify your subview to show just the subview banner with the label, "No comments for this batch". You won't be able to hide the subview button for individual rows so you need to show something to the user when they click it.
Ah okay, I was thinking I might have to resort to that. I was hoping after the weekend I would have a light bulb moment where I figured it out but this works too.