# \[IGN-1985 \] Accessing subviews with scripting

**URL:** <https://forum.inductiveautomation.com/t/ign-1985-accessing-subviews-with-scripting/57932>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 1, 2022, 1:58pm UTC](https://forum.inductiveautomation.com/t/ign-1985-accessing-subviews-with-scripting/57932 "2022-04-01T13:58:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![agriner](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@agriner](https://forum.inductiveautomation.com/u/agriner)\
**Post date:** [April 1, 2022, 1:58pm UTC](https://forum.inductiveautomation.com/t/ign-1985-accessing-subviews-with-scripting/57932/1 "2022-04-01T13:58:58Z")

</div>

I’d like to use scripting to access the property on subviews that opens and closes them.  
Basically, I have two tables on a screen and I’d like to auto close any open subviews on the second table whenever I change the selected row on the first table.  
Does anyone know if it’s possible to access the property to do this?

---

<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:** [April 1, 2022, 6:03pm UTC](https://forum.inductiveautomation.com/t/ign-1985-accessing-subviews-with-scripting/57932/2 "2022-04-01T18:03:22Z")

</div>

We’re literally working on a feature to allow this through scripting in the current sprint. It should hopefully be available in 8.1.17.
