<?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: listbox with treeview will not sort properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449395#M696293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do do Left join and keep the Path field in another table.&lt;/P&gt;&lt;P&gt;I am not sure the delimiter is '-' not '~' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the List box Try with '-' as delimiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 13:40:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-16T13:40:59Z</dc:date>
    <item>
      <title>listbox with treeview will not sort properly</title>
      <link>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449392#M696290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have listbox setup as treeview to represent customer structure. Qlikview display the hierarchy properly, but if you try to search, selection wil not rise to the top of the list eventhough the sort is set to&amp;nbsp; state: Auto ascending . You have no choice but to scroll down to the original location of the value. As list contains over 40K values this becomes a problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Example attached. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449392#M696290</guid>
      <dc:creator />
      <dc:date>2013-04-12T13:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: listbox with treeview will not sort properly</title>
      <link>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449393#M696291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately selection remains in the same position.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 14:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449393#M696291</guid>
      <dc:creator />
      <dc:date>2013-04-12T14:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: listbox with treeview will not sort properly</title>
      <link>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449394#M696292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a Macro to fix this issue.&amp;nbsp; I do have one list box working perfectly but another doesn't so I cant promiss it will be 100%.&amp;nbsp; I am currently trying to make this bullet proof but hopefully it should be fine for your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add a text box. e.g. "Update account list"&lt;/LI&gt;&lt;LI&gt;Click on actions tab and add a "External" -&amp;gt; "Run Macro"&lt;/LI&gt;&lt;LI&gt;Call the Macro something and then press edit module. e.g. "AccountPathRefresh"&lt;/LI&gt;&lt;LI&gt;Copy the below into the module and update the sub ************* to be the same as the module to be the same as the one your text will call when it is pressed.&lt;/LI&gt;&lt;LI&gt;Update the getsheetobject("****") to be the object name of your list box.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: you can uncomment the msgbox lines to use for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sub AccountPathRefresh&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'msgbox "start"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set vObject = ActiveDocument.GetSheetObject("LB02")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set vChange=vObject.GetProperties&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vChange.Layout.ShowAsTreeView = false&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vObject.setproperties vChange&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vChange.Layout.ShowAsTreeView = true&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vObject.setproperties vChange&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;'msgbox "finished"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;end sub&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 01:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449394#M696292</guid>
      <dc:creator />
      <dc:date>2014-01-16T01:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: listbox with treeview will not sort properly</title>
      <link>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449395#M696293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do do Left join and keep the Path field in another table.&lt;/P&gt;&lt;P&gt;I am not sure the delimiter is '-' not '~' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the List box Try with '-' as delimiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 13:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449395#M696293</guid>
      <dc:creator />
      <dc:date>2014-01-16T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: listbox with treeview will not sort properly</title>
      <link>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449396#M696294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dathu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm interested in your solution to the sorting on the tree,&amp;nbsp; can you explain some more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 22:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/listbox-with-treeview-will-not-sort-properly/m-p/449396#M696294</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2015-04-23T22:27:55Z</dc:date>
    </item>
  </channel>
</rss>

