Button option: deselect row when pushed

In case this is helpful for anyone, I’ve figured out that if you get the ObjectLink() of another row and open it, it will select that row without going into detail view, which simulates ‘clicking outside the row’ by removing the focus and allowing it to be filtered out or sorted.

RunActions(
    WhateverAction(),
    Table.filter(WhateverCriteria).first().ObjectLink().OpenWindow()
)

If the result of the filter is not the row from where the button was clicked, it will remove focus of the current row.

Hope this helps,

Pablo

1 Like