<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged getdatagrid</title>
<link>https://overflow.efficy.io/?qa=tag/getdatagrid</link>
<description>Powered by Question2Answer</description>
<item>
<title>Benefit the full list when using non standard query as mainquery</title>
<link>https://overflow.efficy.io/?qa=5610/benefit-the-full-list-when-using-non-standard-query-mainquery</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I'm running in a problem when creating views from another system in Efficy. I've defined queries to have the selection to show in the view as mainquery (so far no problems).&lt;br&gt;
The problems come when the users click on the expand button to see all the results instead of in pages. Then the following error occurs:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;QueryBuilder Query K_MASTER=XX, K_DETAIL=0 not found in database
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Does anyone know how to solve this problem so that the users can choose either to see the result in pages or as a complete list?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5610/benefit-the-full-list-when-using-non-standard-query-mainquery</guid>
<pubDate>Tue, 06 Oct 2020 15:28:22 +0000</pubDate>
</item>
<item>
<title>Run multiple &lt;#repeat&gt; in getdatagird</title>
<link>https://overflow.efficy.io/?qa=3605/run-multiple-repeat-in-getdatagird</link>
<description>&lt;p&gt;Hello Efficy-team, &lt;/p&gt;

&lt;p&gt;I would like to do something like this, in pure macro : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%GetDataGrid(query='myMainQuery',
    templateText=
        `&amp;lt;#repeat&amp;gt;
            [Something]

            &amp;lt;%GetDataGrid(query='mySuperQuery&amp;lt;#F=K_SOMETHING&amp;gt;',
                templateText=
                |&amp;lt;#repeat&amp;gt;
                    [.. something else ... ]
                &amp;lt;/#repeat&amp;gt;|
            )%&amp;gt;
        &amp;lt;/#repeat&amp;gt;`
)%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But I that way, I got a conflict between the two &amp;lt;#repeat&amp;gt; tags. Is there a workaround ? Is this even possible ? &lt;/p&gt;

&lt;p&gt;As workaround, I will use a serverscript to load my data. But I would have prefer in pure macro.&lt;/p&gt;

&lt;p&gt;Thanks, &lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3605/run-multiple-repeat-in-getdatagird</guid>
<pubDate>Thu, 18 Oct 2018 19:54:06 +0000</pubDate>
</item>
<item>
<title>Security context &amp; getDataGrid on efficy 11</title>
<link>https://overflow.efficy.io/?qa=3166/security-context-getdatagrid-on-efficy-11</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;I have some trouble with the new &quot;security context&quot; on efficy 11.&lt;/p&gt;

&lt;p&gt;Here is my code : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%RunQuery(id=&quot;typeCompany&quot;, SQL=&quot;select K_COMP_COMP_RLT, RELATION_FR from &amp;lt;#table name='LK_COMP_COMP_RLT'&amp;gt; where DISABLED=0&quot;, store=&quot;20&quot;)%&amp;gt;

    &amp;lt;select id=&quot;typeCompany&quot; name=&quot;typeCompany&quot;&amp;gt;
        &amp;lt;option value=''&amp;gt;&amp;lt;/option&amp;gt;

        &amp;lt;%Delay(1,CONTEXT=HTML)%&amp;gt;GetDataGrid(query='typeCompany', count=-1, TemplateText=`&amp;lt;#repeat&amp;gt;&amp;lt;option value=''&amp;gt;&amp;lt;#F=RELATION_FR, CONTEXT=TEXT&amp;gt;&amp;lt;/option&amp;gt;&amp;lt;/#repeat&amp;gt;`)%&amp;gt;

    &amp;lt;/select&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I suppose that my context is HTML because I render option value. &lt;/p&gt;

&lt;p&gt;But it does not seems to work : &lt;/p&gt;

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

&lt;p&gt;What did I missed ? &lt;/p&gt;

&lt;p&gt;I try other security context, like ATTR (proposed by the migration tool), but the result is the same.&lt;/p&gt;

&lt;p&gt;Thanks, &lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3166/security-context-getdatagrid-on-efficy-11</guid>
<pubDate>Wed, 23 May 2018 10:23:51 +0000</pubDate>
</item>
<item>
<title>Disable Badge column in GetDataGrid</title>
<link>https://overflow.efficy.io/?qa=1630/disable-badge-column-in-getdatagrid</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;In Efficy 10 we now have the badges.&lt;br&gt;
But when using a GetDataGrid Efficy automatically creates a column for the Badges.&lt;br&gt;
Which makes that the headers don't align with the data-cells :&lt;/p&gt;

&lt;p&gt;it concerns the cell with the class &quot;badge-cell&quot;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; &amp;lt;td class=&quot;badge-cell&quot;&amp;gt;&amp;lt;/td&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%GetDataGrid(query=&quot;AccnoList&quot;, entity=&quot;AccnoList&quot;, columndefs=&quot;GridColumns.txt&quot;, columns=&quot;F_ACCOUNTVAN,F_ARCHIVE_ID{ACCNOID},F_CUSTOMER_ID{ACCNOID},F_SUPPLIER_ID{ACCNOID}&quot;)%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;creates :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;table class=&quot;data-grid&quot; data-channel=&quot;entitylist/grid&quot; data-entity=&quot;AccnoList&quot;&amp;gt;
&amp;lt;tr class=&quot;GridHeader&quot; id=&quot;AccnoList_hrow&quot;&amp;gt;
&amp;lt;th nowrap align=&quot;right&quot;&amp;gt;&amp;lt;a class=&quot;header-sort&quot; href=&quot;consult?entity=Comp&amp;amp;PAGE=pages/desktop/Consult.htm&amp;amp;DETAIL=Cont&amp;amp;key=1274&amp;amp;CONSULTHANDLE=10&amp;amp;SORT=F_ACCOUNTVAN&amp;amp;GRIDBM=1005&quot;&amp;gt;ACCOUNTVAN&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;
&amp;lt;th class=&quot;text-start nowrap&quot;&amp;gt;&amp;lt;a class=&quot;header-sort&quot; href=&quot;consult?entity=Comp&amp;amp;PAGE=pages/desktop/Consult.htm&amp;amp;DETAIL=Cont&amp;amp;key=1274&amp;amp;CONSULTHANDLE=10&amp;amp;SORT=F_ARCHIVE_ID&amp;amp;GRIDBM=1005&quot;&amp;gt;Archief&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;
&amp;lt;th class=&quot;text-start nowrap&quot;&amp;gt;&amp;lt;a class=&quot;header-sort&quot; href=&quot;consult?entity=Comp&amp;amp;PAGE=pages/desktop/Consult.htm&amp;amp;DETAIL=Cont&amp;amp;key=1274&amp;amp;CONSULTHANDLE=10&amp;amp;SORT=F_CUSTOMER_ID&amp;amp;GRIDBM=1005&quot;&amp;gt;Debiteur&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;
&amp;lt;th class=&quot;text-start nowrap&quot;&amp;gt;&amp;lt;a class=&quot;header-sort&quot; href=&quot;consult?entity=Comp&amp;amp;PAGE=pages/desktop/Consult.htm&amp;amp;DETAIL=Cont&amp;amp;key=1274&amp;amp;CONSULTHANDLE=10&amp;amp;SORT=F_SUPPLIER_ID&amp;amp;GRIDBM=1005&quot;&amp;gt;Crediteur&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;
&amp;lt;/tr&amp;gt;&amp;lt;/thead&amp;gt;
&amp;lt;tr data-key=&quot;&quot; class=&quot;&quot;&amp;gt;&amp;lt;td class=&quot;badge-cell&quot;&amp;gt;&amp;lt;/td&amp;gt;
&amp;lt;td class=&quot;Grid&quot;&amp;gt;Mineralen Kollee bv&amp;lt;/td&amp;gt;
&amp;lt;td class=&quot;Grid&quot; style=&quot;width:60px;text-align:right&quot;&amp;gt;392&amp;lt;/td&amp;gt;
&amp;lt;td class=&quot;Grid&quot; style=&quot;width:60px;text-align:right&quot;&amp;gt;0&amp;lt;/td&amp;gt;
&amp;lt;td class=&quot;Grid&quot; style=&quot;width:60px;text-align:right&quot;&amp;gt;304&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;How do I prevent the GetDataGrid from adding the Badge column ???&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1630/disable-badge-column-in-getdatagrid</guid>
<pubDate>Thu, 19 May 2016 11:58:32 +0000</pubDate>
</item>
</channel>
</rss>