# Row Selector Selected Path

**URL:** <https://forum.inductiveautomation.com/t/row-selector-selected-path/5503>\
**Category:** Ignition\
**Created:** [November 29, 2012, 10:33pm UTC](https://forum.inductiveautomation.com/t/row-selector-selected-path/5503 "2012-11-29T22:33:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malcolm](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/malcolm/32/5970_2.png) [@Malcolm](https://forum.inductiveautomation.com/u/Malcolm)\
**Post date:** [November 29, 2012, 10:33pm UTC](https://forum.inductiveautomation.com/t/row-selector-selected-path/5503/1 "2012-11-29T22:33:14Z")

</div>

Hi,

The attached image shows a Row Selector, with the selection shown could there be a string property with the following or similar value:

‘NP Tests (81)\Unknown (81)\Bead (27)\UCR20/5-NP (6)’

Either with or without the number of results at each level.

This string would be used on top of a generic report to show what data was selected to generate it.

Regards

Malcolm Bird  
Swift Automation  
UK

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1e8bdf45592142d9da79c824d7c4f011f37de5d6.png)

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [November 30, 2012, 9:27am UTC](https://forum.inductiveautomation.com/t/row-selector-selected-path/5503/2 "2012-11-30T09:27:01Z")

</div>

The row selector component has 2 datasets: Data in, containing the data to be displayed (using filters to group it); and Data out, containing the rows from Data in which were selected by the user.

You can loop through every row in Data out and display the data however you like e.g.`rowSelector = event.source.parent.getComponent('Row Selector')
data = system.dataset.toPyDataSet(rowSelector.dataOut)
for row in data:
	print "%s\\%s\\%s" % (rowSelector.allDataNodeText, row["column1"], row["column2"]) `Note that clicking on a parent node selects all child nodes. I don’t think there is a way to turn this behaviour off and only allow selection of a child node.
