Perspective Table - Expand Subview function

I know there are onSubviewExpand and onSubviewCollapse events built into the Table component, but is there a function I could use in an onRowClick event script to expand and collapse a subview?

I am trying to make it so that clicking anywhere on a row will open the subview to that row.

Thank you.


I am also trying to achieve same functionality. For most of the use cases it would be best to open subview by clicking the row no matter where to click


Made a feature request about this issue:

Upvote it if you also would need this feature