Tree View 7.7.2 rc1, selected folders

Hello!
In Tree View in version of Ignition 7.6.6 if i select the folder - in selectedItem i see “-1”.
screenshot.su/show.php?img=f76d8 … 832b83.jpg

In Tree View in version of Ignition 7.7.2 rc1 if i select the folder - in selectedItem i see the number of first item in this folder.
screenshot.su/show.php?img=a141c … 5f5572.jpg
screenshot.su/show.php?img=8a567 … 714237.jpg

In 7.6.6 the “-1” was helpfull to screen out the folders and making script only when “no_folder” item is selected.

How i can realize it in 7.7.2 ?

It looks like right now the tree view component is reporting indexes incorrectly.

For what its worth, -1 was never the intended “folder” value. Most people don’t include folders in their datasets, so the folders are implicitly created and don’t have an index.

[quote=“Greg.Simpson”]It looks like right now the tree view component is reporting indexes incorrectly.

For what its worth, -1 was never the intended “folder” value. Most people don’t include folders in their datasets, so the folders are implicitly created and don’t have an index.[/quote]

Thanks for answer but i still not understend how i can filter folder and not_folder :scratch: