<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged treeview</title>
<link>https://overflow.efficy.io/?qa=tag/treeview</link>
<description>Powered by Question2Answer</description>
<item>
<title>display lastname and firstname in contacts tree view</title>
<link>https://overflow.efficy.io/?qa=6441/display-lastname-and-firstname-in-contacts-tree-view</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;is there  a way to display the firstname and the lastname in the tree view on contact level, to identify the linked contacts in a better way?&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=10205574674180779765&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;The question is realted to version Efficy 2021.&lt;/p&gt;

&lt;p&gt;Thanks and best regards&lt;br&gt;
Stephan&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6441/display-lastname-and-firstname-in-contacts-tree-view</guid>
<pubDate>Mon, 24 Jan 2022 08:54:07 +0000</pubDate>
</item>
<item>
<title>Can the treeview show 2 holdings?</title>
<link>https://overflow.efficy.io/?qa=5929/can-the-treeview-show-2-holdings</link>
<description>&lt;p&gt;Hi Guys,&lt;/p&gt;

&lt;p&gt;Is it possible to show 2 holdings in the treeview?&lt;br&gt;
Using Efficy 11.3&lt;/p&gt;

&lt;p&gt;Situation:&lt;/p&gt;

&lt;p&gt;1 company has 2 holdings but when you open the treeview of that company only 1 holding shows.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5929/can-the-treeview-show-2-holdings</guid>
<pubDate>Mon, 01 Mar 2021 12:12:53 +0000</pubDate>
</item>
<item>
<title>Tree view display offset issue when click on too long element</title>
<link>https://overflow.efficy.io/?qa=3725/tree-view-display-offset-issue-when-click-on-too-long-element</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have a offset issue in tree view.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=17119566563233163269&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;This happens when we click on a element only in certain condition:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At least on element is long ant not displayed entirely &lt;/li&gt;
&lt;li&gt;Efficy Version 2014 (6100)    &lt;/li&gt;
&lt;li&gt;Browser IE&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;if i play with the splitter to display all element entirely, there is no problem&lt;br&gt;
if i test with chrome, no problem&lt;br&gt;
if i test with actual Efficy version, no problem&lt;/p&gt;

&lt;p&gt;i suppose there is something not compatible with it that has been fixed between Efficy 2014 and Efficy 11, but what ?&lt;/p&gt;

&lt;p&gt;i've try to compare some jstree and treeview file with Efficy 11 files, but i don't see something who make the difference.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3725/tree-view-display-offset-issue-when-click-on-too-long-element</guid>
<pubDate>Mon, 10 Dec 2018 10:57:32 +0000</pubDate>
</item>
<item>
<title>Customizing treeview in Efficy 10SP2</title>
<link>https://overflow.efficy.io/?qa=2278/customizing-treeview-in-efficy-10sp2</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;For a customer I´m trying to customize the treeview for Companies in Efficy 10SP2. The linked products for each company should be visible as a subfolder with products in it. Is there an example that I can follow or use or does someone have some experience with it? I´ve tried to add the products via AfterLoaded but it get´s overwritten in an event jstree.ready. I also tried it via SQL but I didn´t get it to work.&lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2278/customizing-treeview-in-efficy-10sp2</guid>
<pubDate>Fri, 10 Feb 2017 12:40:39 +0000</pubDate>
</item>
<item>
<title>Is it possible to show both Parent and child in treeview for companies</title>
<link>https://overflow.efficy.io/?qa=1445/possible-show-both-parent-and-child-treeview-for-companies</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I have a request to show both parent and child companies of some some company (Efficy 2014 r6100).&lt;/p&gt;

&lt;p&gt;But this is not the case now, if i searched for a company and clicked on &quot;Show/Hide TreeView&quot; it shows like this&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=922849595228112509&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;So i need to show parent (has member:LGNAC GROEP) and the child (Division). If it's not possible for both, then is it possible to at least shows the parent?&lt;/p&gt;

&lt;p&gt;Thank you for help and advise.&lt;br&gt;
Best Regards.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1445/possible-show-both-parent-and-child-treeview-for-companies</guid>
<pubDate>Wed, 23 Mar 2016 12:28:05 +0000</pubDate>
</item>
<item>
<title>Efficy2014 - Duplicate function in tree view</title>
<link>https://overflow.efficy.io/?qa=1439/efficy2014-duplicate-function-in-tree-view</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;In Efficy 2012 Summer, the tree view dropdown menu in product manager had a duplicate function. This function doesn't exist anymore in Effiy2014&lt;br&gt;
I'm able to duplication the product in efficy2014 but don't know how to get the parent key of the product being duplicated to link it to the new product.&lt;/p&gt;

&lt;p&gt;Thanks for help.&lt;br&gt;
Best Regards&lt;br&gt;
Anne&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1439/efficy2014-duplicate-function-in-tree-view</guid>
<pubDate>Mon, 21 Mar 2016 18:00:18 +0000</pubDate>
</item>
<item>
<title>How change color or font into tree view depending on a lookup field into the company</title>
<link>https://overflow.efficy.io/?qa=898/change-color-font-into-tree-depending-lookup-field-company</link>
<description>&lt;p&gt;I need to add a color into the label of treeview depending on a field (lookup) into the company. For exemple &lt;/p&gt;

&lt;p&gt;A main company is the department store and stay black &lt;br&gt;
This company has  sub companies like Sport department, technical department etc.&lt;br&gt;
The idea is to create the treeview with colors associated&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;COMPANIE XXX&lt;/li&gt;
&lt;li&gt;COMPANIE XXX SPORT --&amp;gt; RED&lt;/li&gt;
&lt;li&gt;COMPANY XXX TECHNICAL --&amp;gt; BLUE &lt;br&gt;
etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I tried to intercept the macro TreeViewMain without results. &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%CreateTreeView(OnExpand=&quot;SwitchNode&quot;, ExpandLevel=&quot;0&quot;, MaxLevel=&quot;1&quot;, AjaxLoad=&quot;1&quot;, ActiveField=&quot;OPENED&quot;, InactiveClass=&quot;Inactive&quot;, MYCLASS HERE
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Any idea How to do it ? &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=898/change-color-font-into-tree-depending-lookup-field-company</guid>
<pubDate>Fri, 30 Oct 2015 16:21:58 +0000</pubDate>
</item>
<item>
<title>Customizing Treeview (2012 Summer+)</title>
<link>https://overflow.efficy.io/?qa=123/customizing-treeview-2012-summer</link>
<description>&lt;p&gt;Does one of you already tried to change the layout of the Comp.treeview?&lt;/p&gt;

&lt;p&gt;I found following macro:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;TreeViewMain.Comp [&amp;lt;%CreateTreeView(OnExpand=&quot;SwitchNode&quot;, ExpandLevel=&quot;0&quot;, MaxLevel=&quot;1&quot;,   AjaxLoad=&quot;1&quot;, ActiveField=&quot;OPENED&quot;, InactiveClass=&quot;Inactive&quot;,
OnClickParent=&quot;TreeGotoParent&quot;, ClickParentCaption=&quot;Show Parent Entity&quot;, folder=&quot;img/t/&quot;, FolderImage=&quot;&quot;,   ParentSeparator=&quot;&amp;lt;hr&amp;gt;&quot;,
action=&quot;%%GetArgument('nodeaction')&quot;,   VisibleNodesParam=&quot;%%Evaluate('_ &amp;lt;%GetEntity()%&amp;gt;TREE')&quot;,
initialshow=&quot;false&quot;, PopupImage=&quot;img/menu20.gif&quot;, NodeImage=&quot;%%GetEntity()&quot;,
parentsql=&quot;select CC.K_COMPANY, C.NAME + (case c.F_SALES_ENTITY when '1' then ' *' else '' end) NAME, C.OPENED from &amp;lt;#TABLE NAME=COMP_COMP&amp;gt; CC, &amp;lt;#TABLE NAME=COMPANIES&amp;gt; C, &amp;lt;#TABLE NAME=LK_COMP_COMP_RLT&amp;gt; R
    where CC.K_COMPANY2 = :param1 and C.K_COMPANY = CC.K_COMPANY and CC.RELATION = R.K_COMP_COMP_RLT and R.PARENT = '0'&quot;,
childrensql=&quot;select CC.K_COMPANY2, (
     select COUNT(*) from &amp;lt;#TABLE NAME=COMP_COMP&amp;gt; QCC, &amp;lt;#TABLE NAME=LK_COMP_COMP_RLT&amp;gt; QR
     where QCC.RELATION = QR.K_COMP_COMP_RLT and QCC.K_COMPANY=CC.K_COMPANY2 and QR.PARENT = '0') as SUBCOUNT, COMPANIES.NAME + (case COMPANIES.F_SALES_ENTITY when '1' then ' *' else '' end) NAME, COMPANIES.OPENED
    from &amp;lt;#TABLE NAME=COMP_COMP&amp;gt; CC, &amp;lt;#TABLE NAME=COMPANIES&amp;gt; COMPANIES, &amp;lt;#TABLE NAME=LK_COMP_COMP_RLT&amp;gt; R
    where ((CC.K_COMPANY = :param1) and (R.PARENT = '0')) and CC.K_COMPANY2 = COMPANIES.K_COMPANY
    and CC.RELATION = R.K_COMP_COMP_RLT and &amp;lt;#SECURITYCLAUSE TABLENAME=COMPANIES&amp;gt;   order BY COMPANIES.NAME&quot;
)%&amp;gt;]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I need to add a '*' behind the company name based on the value of a checkbox.&lt;br&gt;
Therefor I added this in the SQL: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;C.NAME + (case c.F_SALES_ENTITY when '1' then ' *' else '' end) NAME
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is only working if you show the parent separated from the children. If you show it in the treeview, my company name isn't changed.&lt;br&gt;
There is also a CompTreeView query (10; -10), but changing this isn't changing my layout.&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=123/customizing-treeview-2012-summer</guid>
<pubDate>Thu, 11 Dec 2014 12:54:07 +0000</pubDate>
</item>
</channel>
</rss>