Disable control bar buttons if no object has been selected (with multi-selection enabled)

Hi all, I'm looking for a way to give my control bar buttons a disabled look when my user has not selected any row from my template grid. The only solution that I have found is to use a data view that listens to my template grid, but it won't work in my case as I have multi-selection enabled. I also can't set a visibility condition to "$currentObject != empty" because this property is not available in my control bar.   How can I find a workaround to get a control bar with disabled buttons as long as my user has not selected a tile, that will turn into enabled buttons as soon as he selects a line.   Thank you!
0 answers