# Perspective Table - Expand Subview function

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-expand-subview-function/34457>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 5, 2020, 6:35pm UTC](https://forum.inductiveautomation.com/t/perspective-table-expand-subview-function/34457 "2020-05-05T18:35:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 24, 2023, 2:44am UTC](https://forum.inductiveautomation.com/t/perspective-table-expand-subview-function/34457/6 "2023-10-24T02:44:04Z")

</div>

I was able to place this as part of the `onRowClick` Event of the Table:

```auto
def runAction(self, event):
	self.expandSubviews([event.rowIndex])

```

it resulted in the Table expanding the subview for whichever row I clicked.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-table-expand-subview-function/34457)._
