<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tree-view Expanded/Collapsed selections behaving differently in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398518#M424282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using a trigger is one option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 14:45:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-14T14:45:17Z</dc:date>
    <item>
      <title>Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398517#M424281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have recently set up a hierarchy for accounting codes using the attached table and the following Load Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIERARCHY(Code, Parent, Node_Name, ParentName, Node_Name, Path, '|')&lt;/P&gt;&lt;P&gt;LOAD Code, Parent, Node_Name&lt;/P&gt;&lt;P&gt;FROM [...\HierarchyTest.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the issues that I am having is with how the listbox is behaving with selections on collapsed and expanded nodes.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="8-14-2017scrshot.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173359_8-14-2017scrshot.PNG" style="height: auto;" /&gt;&lt;IMG alt="8-14-2017scrshot2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/173372_8-14-2017scrshot2.PNG" style="height: auto;" /&gt;&lt;IMG alt="8-14-2017scrshot3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/173373_8-14-2017scrshot3.PNG" style="height: auto;" /&gt;&lt;IMG alt="8-14-2017scrshot4.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/173374_8-14-2017scrshot4.PNG" style="height: auto;" /&gt;&lt;IMG alt="8-14-2017scrshot5.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/173375_8-14-2017scrshot5.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The above screenshots demonstrate what I am referring to. If I start with all of the nodes collapsed and select 200 and expand, all of its children are also selected. This is the behavior that I prefer. But if I expand the 200 node and select it, now only 200 is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way that I can get it to have the same behavior when the node is expanded as to when it is collapsed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398517#M424281</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-08-14T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398518#M424282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using a trigger is one option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398518#M424282</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-14T14:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398519#M424283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea, I'll try that out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 15:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398519#M424283</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-08-14T15:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398520#M424284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I added the following Select in Field trigger to the Path field: ='("' &amp;amp; concat(DISTINCT Path, '*","') &amp;amp; '*")'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It now gives me the opposite of my initial issue. Now when I select an expanded node, it selects each child node. But if I select the collapsed node, it doesn't select at all. I've attached the qvw I've been using as an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398520#M424284</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-08-14T16:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398521#M424285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Path field to select, as it should be more unique than the individual node (parent in this case) to select &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 - Instruction|200 - Support Services&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hierarchy is behaving as I would expect: if collapsed, the whole node and its leaves are selected, but if expanded, only the individual node is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398521#M424285</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-08-14T16:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398522#M424286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I'm confused what you mean by use the Path field to select because I think I'm already doing that. I have the Path field in the listbox to get the tree view and I am selecting on the Path field in the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While that may be the expected behavior in some cases, I need the children to be selected as well. Basically, the 200 code is a grouping of the other 200 level accounting codes and shouldn't have any aggregate data. So when I select 200 on the tree view I would expect that all of its children are included as well. Essentially my data should only have dollar amounts at the lowest level of detail, and selecting a higher level of detail should provide you with a sum of all of the children.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398522#M424286</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-08-14T16:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tree-view Expanded/Collapsed selections behaving differently</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398523#M424287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind, the trigger did in fact work, but I was experience issues using ',' in the concat statement. When I switched it with '|' it worked fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 20:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-Expanded-Collapsed-selections-behaving-differently/m-p/1398523#M424287</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2017-08-14T20:19:22Z</dc:date>
    </item>
  </channel>
</rss>

