# Data-Shapes TreeView FirstItemIsTitle not working?

**URL:** <https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787>\
**Category:** Packages\
**Tags:** data-shapes\
**Created:** [October 2, 2020, 1:29am UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787 "2020-10-02T01:29:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobVida](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@RobVida](https://forum.dynamobim.com/u/RobVida)\
**Post date:** [October 2, 2020, 1:29am UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/1 "2020-10-02T01:29:12Z")

</div>

Hi,

I’m wondering if I’m missing something with how I’m trying to use the Data-Shapes TreeView node. I have the node set with FirstItemIsTitle set to true and I have item 0 of my list as the Title so I’m not sure why the title still showing up as List1, see below. Any help seeing what I’m missing would be great! Or if it’s unavoidable at least I’ll know to give up!

Thank!

Package version 2019.2.42 dynamo Revit 2019 2.0.4.12685

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5c5a8309d631b3b06f688384016101dcc384f793.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/535419c0828d1034d2e6beb8e69eb7c02fa553b5.png)

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [October 2, 2020, 1:40am UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/2 "2020-10-02T01:40:13Z")

</div>

Try flattening the list.

---

<div class="post-metadata">

**Author:** ![RobVida](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@RobVida](https://forum.dynamobim.com/u/RobVida)\
**Post date:** [October 2, 2020, 12:16pm UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/3 "2020-10-02T12:16:01Z")

</div>

Thanks, unfortunately the data-shapes output didn’t change after flattening the list.

---

<div class="post-metadata">

**Author:** ![Daniel\_Hurtubise](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daniel_hurtubise/32/146534_2.png) [@Daniel\_Hurtubise](https://forum.dynamobim.com/u/Daniel_Hurtubise)\
**Post date:** [October 2, 2020, 1:44pm UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/4 "2020-10-02T13:44:07Z")

</div>

I think you need to transpose the list first so you have a list of “titltes” in index 0 for the node to use as titles

---

<div class="post-metadata">

**Author:** ![RobVida](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@RobVida](https://forum.dynamobim.com/u/RobVida)\
**Post date:** [October 2, 2020, 3:48pm UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/5 "2020-10-02T15:48:50Z")

</div>

Thank you for the suggestion. I just tried transposing it every which way and unfortunately that didn’t change the output either.

Is this part of the UI.TreeView just not working anymore? I can’t find any examples of the treeview node including on the Data-Shapes website.

---

<div class="post-metadata">

**Author:** ![baud.dem](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/baud.dem/32/171763_2.png) [@baud.dem](https://forum.dynamobim.com/u/baud.dem)\
**Post date:** [December 17, 2020, 10:33am UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/6 "2020-12-17T10:33:17Z")

</div>

Hi everyone,  
Still no solution on this topic ?

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [December 17, 2020, 11:38am UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/7 "2020-12-17T11:38:22Z")

</div>

@Mostafa_El_Ayoubi any thoughts?

---

<div class="post-metadata">

**Author:** ![KevSch](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@KevSch](https://forum.dynamobim.com/u/KevSch)\
**Post date:** [April 11, 2023, 11:50am UTC](https://forum.dynamobim.com/t/data-shapes-treeview-firstitemistitle-not-working/55787/8 "2023-04-11T11:50:44Z")

</div>

![TreeView 1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/6/4663617857f2bb389d26797b3e8b953570058e47.png)  
 ![TreeView 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/3/b3dd081c9e1771aa39b48c27ad2f287ff0d06e63.png)  
don´t know why, but seems to work somehow? maybe you just have to play around with list levels…  
greetings kev
