<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged grid</title>
<link>https://overflow.efficy.io/?qa=tag/grid</link>
<description>Powered by Question2Answer</description>
<item>
<title>User Option : Default Display Grid Density?</title>
<link>https://overflow.efficy.io/?qa=6450/user-option-default-display-grid-density</link>
<description>&lt;p&gt;Dear all, &lt;/p&gt;

&lt;p&gt;Since Efficy 11.3 Release Build r18130, a new functionnality &quot;grid density&quot; appears.&lt;br&gt;
The setting can be found in User Option : comfortable, intermediate, compact.&lt;/p&gt;

&lt;p&gt;It seems in the documentation, that we can set the default User Option from SYS_SETTINGS : &quot;gridDisplayDensity&quot; (cf EDN : &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/dev/cust_definegridcolumns&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/dev/cust_definegridcolumns&quot;&gt;https://help.efficy.io/edn/dev/cust_definegridcolumns&lt;/a&gt;) &lt;/p&gt;

&lt;p&gt;I try to find in &lt;code&gt;SYS_SETTINGS&lt;/code&gt; the &quot;gridDisplayDensity&quot; option, but I cannot find it. &lt;br&gt;
Should we add it manually, if so where in sys_settings should we do that ?&lt;/p&gt;

&lt;p&gt;Best Regards&lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6450/user-option-default-display-grid-density</guid>
<pubDate>Fri, 04 Feb 2022 13:30:07 +0000</pubDate>
</item>
<item>
<title>COMP_COMP: Error after deleting Detail with custom Edit grid</title>
<link>https://overflow.efficy.io/?qa=5801/compcomp-error-after-deleting-detail-with-custom-edit-grid</link>
<description>&lt;p&gt;Hello, I get an error after deleting a COMP_COMP detail and clicking on Apply:&lt;br&gt;
&quot;Vind detail met sleutel &quot;50015999&quot; en relatie &quot;-1&quot; niet terug.&lt;br&gt;
Translated: Cannot find detail with key &quot;50015999&quot; and relation &quot;-1&quot;.&lt;br&gt;
(The key is the master key, by the way)&lt;/p&gt;

&lt;p&gt;I inserted this macro custom:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;FormFieldsEditCustom.txt&quot;&lt;/em&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;EntityRelationsGrid.Comp.Comp {[ &amp;lt;%GetRelationGrid(columndefs=&quot;RelationColumns&quot;, entity=&quot;$DETAIL$&quot;, noheader=&quot;true&quot;, columns=&quot;%%IfReadOnly(then='MAIN,FULLNAME', else='MAIN,COMMANDS,FULLNAME,F_COMP_COMPANYROLE')&quot;)%&amp;gt; ]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;AND&lt;br&gt;
&lt;em&gt;&quot;RelationColumnsCustom.txt&quot;&lt;/em&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.F_COMP_COMPANYROLE.Comp [&amp;lt;td&amp;gt;&amp;lt;%GetEdit(detail=&quot;Comp&quot;,detailkey=&quot;&amp;lt;#F=K_COMPANY2;context=TAG&amp;gt;&quot;,field=&quot;$FIELD$&quot;,type=&quot;lookup&quot;)%&amp;gt;&amp;lt;/td&amp;gt;]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;What am I doing wrong here or what do I miss here?&lt;br&gt;
Thanks in advance&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5801/compcomp-error-after-deleting-detail-with-custom-edit-grid</guid>
<pubDate>Tue, 19 Jan 2021 09:01:50 +0000</pubDate>
</item>
<item>
<title>Extend the number of row in the opportunities listview</title>
<link>https://overflow.efficy.io/?qa=5796/extend-the-number-of-row-in-the-opportunities-listview</link>
<description>&lt;p&gt;When an opportunity listview is opened, the maximum number of rows shown at once (with no paging) is limited to 500. &lt;/p&gt;

&lt;p&gt;Is there a possibility to extend it to 1000 rows ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5796/extend-the-number-of-row-in-the-opportunities-listview</guid>
<pubDate>Mon, 18 Jan 2021 15:06:50 +0000</pubDate>
</item>
<item>
<title>Calculate the total of column in a grid widget</title>
<link>https://overflow.efficy.io/?qa=5076/calculate-the-total-of-column-in-a-grid-widget</link>
<description>&lt;p&gt;Hello Efficy community,&lt;/p&gt;

&lt;p&gt;I am upgrading our Efficy from 11.1 to 11.3.&lt;br&gt;
In the 11.1 version we used a lot of macros to create widgets according to our style.&lt;br&gt;
However, in the new 11.3 version we try to implement those macros as a grid, so that with future upgrades those widgets will be upgradet as well.&lt;/p&gt;

&lt;p&gt;Now I got the following 'problem'. In 11.1 we calculated the total of some columns, like this:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=15475150802595058183&quot; alt=&quot;Example of expected output&quot;&gt;&lt;/p&gt;

&lt;p&gt;However, when creating the widget as a grid, this seems to be no option (yet).&lt;br&gt;
Do I miss something? Or will this be an option within future releases of Efficy?&lt;/p&gt;

&lt;p&gt;I am looking forward to the responses!&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5076/calculate-the-total-of-column-in-a-grid-widget</guid>
<pubDate>Tue, 26 Nov 2019 12:19:28 +0000</pubDate>
</item>
<item>
<title>Customize GridColumns group with detail menu</title>
<link>https://overflow.efficy.io/?qa=4413/customize-gridcolumns-group-with-detail-menu</link>
<description>&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;In project consult page, I customised the tab where linked oppos are displayed.&lt;/p&gt;

&lt;p&gt;For each oppo linked, I had to display relation values between a custom entity and oppo.&lt;/p&gt;

&lt;p&gt;It look like this:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=601053546079944618&quot; alt=&quot;relation between proj and oppo&quot;&gt;&lt;/p&gt;

&lt;p&gt;The custom:&lt;br&gt;
MacroConsult:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DetailGrid.Proj.Oppo {[
    &amp;lt;%GetDetailGrid(columndefs=&quot;GridColumns&quot;, entity=&quot;$DETAIL$&quot;, columns=&quot;%%Macro('DetailGridColumns')&quot;, sum=&quot;%%Macro('DetailGridSum')&quot;, group=&quot;NAME&quot;)%&amp;gt;
&amp;lt;%Macro(&quot;DetailMenu&quot;)%&amp;gt;
]}
DetailGridColumns.Proj.Oppo {[NAMEINDICATOR,F_TOTAL]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;NAMEINDICATOR is a field given by the customized SYS_QUERY&lt;/p&gt;

&lt;p&gt;Then to display the icon to get the edit relation menu:&lt;br&gt;
GridColumn:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;group {[
&amp;lt;tr class=&quot;group&quot;&amp;gt;
&amp;lt;td colspan=&quot;$COLUMNCOUNT$&quot;&amp;gt;
&amp;lt;span class=&quot;dropdown no-pip i-menu small&quot; data-dropdown=&quot;detail-menu&quot; data-args=&quot;&amp;lt;#G=$KEY$&amp;gt;&quot;&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;i class=&quot;i-&amp;lt;#ACTION&amp;gt;&quot; data-msg=&quot;group;&amp;lt;#ACTION&amp;gt;;&amp;lt;#HASH&amp;gt;&quot;&amp;gt;&amp;lt;/i&amp;gt;
&amp;lt;#F;context=TEXT&amp;gt;
&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And, once again in MacroConsult:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DetailMenu.Proj.Oppo {[&amp;lt;%GetPopupMenu(id=&quot;detail-menu&quot;, class=&quot;has-icons small&quot;, ulargs='data-channel=&quot;detailmenu&quot;', count=&quot;4&quot;,
text1=&quot;Edit #DETAIL&quot;, image1=&quot;i-edit&quot;,
message1=&quot;consult;{dropdownKey};#DETAIL&quot;,
text2=&quot;Duplicate&quot;, image2=&quot;i-Dupl&quot;,
message2=&quot;duplicateOppoFromProj;{dropdownKey}&quot;,
text3=&quot;Edit relation&quot;, image3=&quot;i-edit&quot;,
message3=&quot;editRelation;#ENTITY;#KEY;#DETAIL;{dropdownKey}&quot;,
text4=&quot;Delete relation&quot;, image4=&quot;i-delete&quot;,
message4=&quot;deleteRelation;#ENTITY;#KEY;#DETAIL;{dropdownKey}&quot;
)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I have the menu:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=13404056964249031169&quot; alt=&quot;relation menu&quot;&gt;&lt;/p&gt;

&lt;p&gt;And when I click on &quot;Edit relation&quot;, I have this error message:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=5768442693444696272&quot; alt=&quot;error message&quot;&gt;&lt;/p&gt;

&lt;p&gt;And here is what I have in the url:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;http://127.0.0.1:5112/crm/edit?page=edit/Relation&amp;amp;action=refreshOpener&amp;amp;entity=Proj&amp;amp;key=3316&amp;amp;detail=Oppo&amp;amp;detailkey=%3C#G=K_OPPORTUNITY%3E&quot;&gt;http://127.0.0.1:5112/crm/edit?page=edit/Relation&amp;amp;action=refreshOpener&amp;amp;entity=Proj&amp;amp;key=3316&amp;amp;detail=Oppo&amp;amp;detailkey=%3C#G=K_OPPORTUNITY%3E&lt;/a&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4413/customize-gridcolumns-group-with-detail-menu</guid>
<pubDate>Wed, 05 Jun 2019 17:02:11 +0000</pubDate>
</item>
<item>
<title>Cutomize OppoEdit - GetRelationGrid that use custom entity AND Products</title>
<link>https://overflow.efficy.io/?qa=3845/cutomize-oppoedit-getrelationgrid-custom-entity-products</link>
<description>&lt;p&gt;Hi all!&lt;/p&gt;

&lt;p&gt;EDIT : I tried but it don't works &lt;br&gt;
When you click a button that call that /commit WebRequest, the application is not able to find some PROD_OPPO relations. It works if I remove the filter params in the GetRelationGrid(Prod).&lt;/p&gt;

&lt;p&gt;The problem is that the last call of GetRelationGrid(Prod) filters the Dataset of EditHandle and on commit Efficy can not see the filtered relations.&lt;br&gt;
I tried to unfilter the dataset after (RunScript) but it don't works &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MacroEditCustom.txt :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;TabContentProds.Oppo {[
    &amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-prod&quot;&amp;gt;
        &amp;lt;div class=&quot;row&quot;&amp;gt;
            &amp;lt;div class=&quot;small-12 medium-1 columns&quot;&amp;gt;
                &amp;lt;button type=&quot;button&quot; class=&quot;icon i-add &amp;lt;%IfReadOnly(detail='Prod', then='disabled')%&amp;gt;&quot; title=&quot;&amp;lt;%GetLabel('Add Link to Product')%&amp;gt;&quot; data-msg=&quot;addProduct&quot;&amp;gt;&amp;lt;/button&amp;gt;
                &amp;lt;%AddRelationButton(entity='Prod')%&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class=&quot;small-12 medium-11 columns&quot;&amp;gt;
                &amp;lt;h3 class=&quot;section-title&quot;&amp;gt;&amp;lt;%GetLabel(&quot;Linked BATCHES&quot;)%&amp;gt;&amp;lt;/h3&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;%Macro('CommonProdRelationFields')%&amp;gt;
        &amp;lt;%OnMultiCurrency(0=, else=|&amp;lt;div id=&quot;currcyError&quot;&amp;gt;&amp;lt;span class=&quot;error&quot;&amp;gt;&amp;lt;%GetLabel(&quot;Warning: The currency must be set before adding products&quot;)%&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;|)%&amp;gt;
        &amp;lt;%Delay(1)%&amp;gt;GetRelationGrid(entity=&quot;Btch&quot;, template=&quot;pages/grid/BtchProdEditGrid.htm&quot;, count=&quot;-1&quot;)%&amp;gt;
    &amp;lt;/div&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;pages/grid/BtchProdEditGrid.htm :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;#repeat&amp;gt;
    &amp;lt;div class=&quot;batch&quot;&amp;gt;
        &amp;lt;table class=&quot;batchData&quot;&amp;gt;
            &amp;lt;tbody&amp;gt;
                &amp;lt;tr&amp;gt;
                    &amp;lt;td class=&quot;batchName&quot;&amp;gt;
                        &amp;lt;a href=&quot;javascript:Consult('Btch',&amp;lt;#F=K_BATCH&amp;gt;)&quot; class=&quot;RelationFullName &amp;lt;#I=OPENED;0=Inactive&amp;gt;&quot; title=&quot;&amp;lt;#F=NAME&amp;gt;&quot;&amp;gt;&amp;lt;#F=NAME&amp;gt;&amp;lt;/a&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=K_SORT&amp;gt;= &amp;lt;#F=K_SORT&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=PRICE&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-PRICE&quot; value=&quot;&amp;lt;#F=PRICE;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_CUSTOMER_PRICE&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_CUSTOMER_PRICE&quot; value=&quot;&amp;lt;#F=F_CUSTOMER_PRICE;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot; readonly&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=DISCOUNT&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-DISCOUNT&quot; value=&quot;&amp;lt;#F=DISCOUNT;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td class=&quot;hidden&quot;&amp;gt;
                        &amp;lt;#H=VAT&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-VAT&quot; value=&quot;&amp;lt;#F=VAT;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=TOTAL&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-TOTAL&quot; value=&quot;&amp;lt;#F=TOTAL;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot; readonly&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                      &amp;lt;ul class=&quot;small-12 columns button-group&quot;&amp;gt;
                        &amp;lt;li&amp;gt;
                            &amp;lt;button class=&quot;i-add icon narrow &amp;lt;%IfReadOnly(detail='Prod', then='disabled')%&amp;gt;&quot; title=&quot;&amp;lt;%GetLabel('Add Product to Batch')%&amp;gt;&quot; type=&quot;button&quot;
                            data-msg=&quot;addProdBtch;&amp;lt;#F=K_BATCH;nospace=T&amp;gt;&quot;&amp;gt;&amp;lt;/button&amp;gt;
                            &amp;lt;%AddRelationButton(entity='Prod')%&amp;gt;&amp;lt;/li&amp;gt;
                      &amp;lt;/ul&amp;gt;
                    &amp;lt;/td&amp;gt;
                &amp;lt;/tr&amp;gt;
                &amp;lt;tr&amp;gt;
                    &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_RISKS&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_RISKS&quot; value=&quot;&amp;lt;#F=F_RISKS;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_EQUIPMENT&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_EQUIPMENT&quot; value=&quot;&amp;lt;#F=F_EQUIPMENT;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_PARTNERS&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_PARTNERS&quot; value=&quot;&amp;lt;#F=F_PARTNERS;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_SUBCONTRACTOR&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_SUBCONTRACTOR&quot; value=&quot;&amp;lt;#F=F_SUBCONTRACTOR;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                &amp;lt;/tr&amp;gt;
            &amp;lt;/tbody&amp;gt;
        &amp;lt;/table&amp;gt;
        &amp;lt;%Delay(1)%&amp;gt;GetRelationGrid(columndefs=&quot;GridEditColumns.txt&quot;, entity=&quot;Prod&quot;, filter='F_BATCH=K_BATCH'
            columns=&quot;FULLNAME,K_RELATION{DISPLAY},K_SORT{DISPLAY},F_BATCH{DISPLAY},PRICE,QUANTITY,F_CUSTOMER_PRICE{TOTAL},DISCOUNT,VAT{HIDDEN},COMMENT,TOTAL,CONSO_RATE{HIDDEN},CONSO_TOTAL{HIDDEN},&amp;lt;%IfReadOnly(else=|SORTDELETE|)%&amp;gt;&quot;)%&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;!-- try to unfilter, but don't not works --&amp;gt;
    &amp;lt;%LoadScript('Special')%&amp;gt;
    &amp;lt;%RunScript('UnfilterDataSet')%&amp;gt;
&amp;lt;/#repeat&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3845/cutomize-oppoedit-getrelationgrid-custom-entity-products</guid>
<pubDate>Wed, 09 Jan 2019 09:13:23 +0000</pubDate>
</item>
<item>
<title>Use Products fields in Docu_Prod gridd of DocuEdit</title>
<link>https://overflow.efficy.io/?qa=3797/use-products-fields-in-docuprod-gridd-of-docuedit</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;In the products grid of DocuEdit I have a grid like&lt;/p&gt;

&lt;p&gt;PRODUCTS.NAME {text} ; DOCU_PROD.PRICE {input} ; QUANTITY {input} ; ...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First question :&lt;/strong&gt;&lt;br&gt;
Is it possible to display &lt;code&gt;PRODUCTS.F_RISKS&lt;/code&gt; as an input type: number (like &lt;code&gt;PRICE&lt;/code&gt;, &lt;code&gt;TOTAL&lt;/code&gt;, ...) and editable ?&lt;br&gt;
How to indicate to Efficy that this input is on &lt;code&gt;PRODUCTS&lt;/code&gt; and not &lt;code&gt;DOCU_PROD&lt;/code&gt; ?&lt;br&gt;
Answered by  Kristof Pauwels ==&amp;gt; not possible, solution = put these fields in DOCU_PROD&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second question :&lt;/strong&gt;&lt;br&gt;
If you go to the Macro &lt;em&gt;TodayTasks#Acti&lt;/em&gt; in &lt;strong&gt;MacroWidget.txt&lt;/strong&gt;, you can see that the field SUBJECT is displayed as  &quot;NEWLINE2EDIT&quot;&lt;br&gt;
This definition create a second line and display the subject just below the USERS&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=2628265325480676666&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;I want to do the same in the FULLNAME Column :&lt;br&gt;
- First line = FULLNAME like the standard def (name of product, and link to consult&lt;br&gt;
- Second line = number inputs to change 4 DOCU&lt;em&gt;PROD fields : F&lt;/em&gt;RISKS, F&lt;em&gt;EQUIPMENT, F&lt;/em&gt;PARTNERS, F_SUBCONTRACTORS&lt;/p&gt;

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

&lt;p&gt;Can I do that with a column def like &lt;em&gt;NEWLINE2EDIT&lt;/em&gt;, or I have to customize directly the FULLNAME.Prod definition ?&lt;br&gt;
I can't find any rowspan or colspan in the html of &lt;em&gt;TodayTasks#Acti&lt;/em&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3797/use-products-fields-in-docuprod-gridd-of-docuedit</guid>
<pubDate>Sat, 29 Dec 2018 18:33:44 +0000</pubDate>
</item>
<item>
<title>Document and Opportunity model : add property like 'EditEntityGridActi'</title>
<link>https://overflow.efficy.io/?qa=3721/document-opportunity-model-property-editentitygridacti</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Efficy version : 10.2&lt;/p&gt;

&lt;p&gt;In the TabContentProds (Edit window of Documents and Opportunities), I need that the client scripts in MacroEditS do some computations following the value of some fields of PRODUCTS&lt;br&gt;
I mean for example the have to do &lt;strong&gt;2+2 if PRODUCTS.FAMILY==1&lt;/strong&gt; or &lt;strong&gt;2*2 if PRODUCTS.FAMILY != 1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But, &lt;strong&gt;I do not want to&lt;/strong&gt; put the value of PRODUCTS.FAMILY in the html (example) :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;tr class=&quot;mission&quot; data-family=&amp;lt;#F=FAMILY;nospace=T&amp;gt; [...] &amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and use it in MacroEditS like&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$('.mission').each(function() {
  var family = $(this).data('family');
})
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I would prefer to use the Model, is it possible to add &lt;strong&gt;'EditEntityGridProd'&lt;/strong&gt; like &lt;strong&gt;'EditEntityGridActi'&lt;/strong&gt; in &lt;strong&gt;'JsonEditModel.Docu/editEntityGrids'&lt;/strong&gt; ?&lt;/p&gt;

&lt;p&gt;Am I obliged to use &lt;strong&gt;'&amp;lt;%GetRelationGrid([...])%&amp;gt;'&lt;/strong&gt; in the Model ? This function tag is already used to generate the html grid in 'TabContentProds' so can I not generate this part of the model here ?&lt;/p&gt;

&lt;p&gt;Last question : How to access it in the script ?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// 1 because I will place it in the array after EditEntityGridActi
var ProductsData = Model('editEntityGrids[1]')
// or
var ProductsData = Model('editEntityGrids')[1]
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3721/document-opportunity-model-property-editentitygridacti</guid>
<pubDate>Fri, 07 Dec 2018 11:40:49 +0000</pubDate>
</item>
<item>
<title>Use RunQuery in Grid</title>
<link>https://overflow.efficy.io/?qa=3699/use-runquery-in-grid</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I use Efficy 10.2 :&lt;br&gt;
I need to add some columns in the ProjConsult.ProductsGrid&lt;br&gt;
I can calculate each column value for each product in the grid with the sql query Below . I need to add a column for 'PLAN' an other for 'REAL' and an other for 'BENEFIT'&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;select Sum(ProdProd.F_PLAN) as [PLAN], Sum(ProdProd.F_REAL + ProdProd.F_REST) as [REAL]
      ,(Sum(ProdProd.F_PLAN) - Sum(ProdProd.F_REAL + ProdProd.F_REST)) as [BENEFIT]
    from PROD_PROJ ProdProj
    join PROD_PROD ProdProd on ProdProd.K_PRODUCT=ProdProj.F_LOT and ProdProd.K_PRODUCT2=ProdProj.K_PRODUCT
    where ProdProj.K_PROJECT=203 and ProdProj.K_PRODUCT=84
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;As you can see, this query need the K&lt;em&gt;PROJECT (Master entity) and the K&lt;/em&gt;PRODUCT of the current row.&lt;/p&gt;

&lt;p&gt;How can I define a RunQuery with this kind of query ?&lt;br&gt;
Or is there a way to create a virtual field (add V&lt;em&gt;... in SYS&lt;/em&gt;FIELDS) and assign it a stored procedure with 2 parameters ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3699/use-runquery-in-grid</guid>
<pubDate>Wed, 05 Dec 2018 15:01:58 +0000</pubDate>
</item>
<item>
<title>Grid consult : add class depends on value</title>
<link>https://overflow.efficy.io/?qa=3480/grid-consult-add-class-depends-on-value</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I added 3 fields in PROD&lt;em&gt;PROD :&lt;br&gt;
- 2 float with the Designer: F&lt;/em&gt;REAL and F&lt;em&gt;REST&lt;br&gt;
- 1 virtual directly with SQL query in MS SQL Server : V&lt;/em&gt;TOTAL. To insert him, I copied OPPORTUNITIES.ADJBUDGET and updated it :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;select * into #tmp from SYS_FIELDS where K_TABLE=22000 and K_FIELD=23 -- OPPORTUNITIES.ADJBUDGET
Update #tmp set K_TABLE=30030, K_FIELD=275, NAME='V_TOTAL', LOOKUPASSOCIATE='=F_REAL+F_REST', ISCUSTOM=1 
select * from #tmp 
insert into  SYS_FIELDS select * from #tmp 
drop table #tmp;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(one question: is it possible to add field like this via the Designer ?)&lt;br&gt;
 I use it the Products Grid on Product Consult view&lt;br&gt;
I want to add a class to the row depending on V&lt;em&gt;TOTAL value :&lt;br&gt;
- V&lt;/em&gt;TOTAL &amp;gt; 0 --&amp;gt; 'text-success'&lt;br&gt;
- V&lt;em&gt;TOTAL = 0 --&amp;gt; 'text-warning'&lt;br&gt;
- V&lt;/em&gt;TOTAL &amp;lt; 0 --&amp;gt; 'text-danger'&lt;/p&gt;

&lt;p&gt;The Grid tag I can just be used as a switch, is there a way to do what I want ?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GridColumnsCustom.txt&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;startrow.Prod {[&amp;lt;tr data-key=&quot;&amp;lt;#F=$KEY$;absent=true;nospace=''&amp;gt;&quot; class=&quot;&amp;lt;#I=ISDELETED;1=deleted;#else=&amp;gt; &amp;lt;#I=V_TOTAL;0=text-warning;&amp;gt;0=text-success;#ELSE=text-danger&amp;gt;&quot;&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

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

&lt;p&gt;&lt;strong&gt;MacroConsultCustom.txt&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DetailGridColumns.Prod.Prod {[MENU,NAME,REFERENCE,R_FAMILY,F_REAL,F_REST,V_TOTAL]}
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3480/grid-consult-add-class-depends-on-value</guid>
<pubDate>Tue, 21 Aug 2018 12:31:34 +0000</pubDate>
</item>
<item>
<title>Show different Menu on detail grid according to value in grid line</title>
<link>https://overflow.efficy.io/?qa=2738/show-different-menu-on-detail-grid-according-value-grid-line</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm searching for a way to show different DetailMenu on each grid line depending on certain value on that line.&lt;/p&gt;

&lt;p&gt;it's on grid of products linked to project on consult, so if the product is from family X then the detail menu (the small men on the left side of the line where we can edit, or delete the relation) has delete and edit relation button. While if product is from Family Y then just show &quot;Edit Relation&quot; button on the menu.&lt;/p&gt;

&lt;p&gt;Any one has an idea for such implementation.&lt;/p&gt;

&lt;p&gt;Thank you in-advance for help and advice.&lt;/p&gt;

&lt;p&gt;Best Regards.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2738/show-different-menu-on-detail-grid-according-value-grid-line</guid>
<pubDate>Thu, 02 Nov 2017 18:12:19 +0000</pubDate>
</item>
<item>
<title>How keep header fixed on top of a long grid list.</title>
<link>https://overflow.efficy.io/?qa=2500/how-keep-header-fixed-on-top-of-a-long-grid-list</link>
<description>&lt;p&gt;Some of customers expect to keep on the top of the grid like that : &lt;a rel=&quot;nofollow&quot; href=&quot;http://imaputz.com/cssStuff/bigFourVersion.html&quot;&gt;http://imaputz.com/cssStuff/bigFourVersion.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The problem in that case is that the adjustment of the header vs tablebody is not similar and not responsive.&lt;/p&gt;

&lt;p&gt;I need to implement something like that for one of our customer.&lt;/p&gt;

&lt;p&gt;Anybody has already done something similar in Efficy witch is compatible with some moderns browser ? Could it be standardized for the future versions by a complete review of the grid in Efficy by using something else than th,tr,td in a table ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2500/how-keep-header-fixed-on-top-of-a-long-grid-list</guid>
<pubDate>Thu, 18 May 2017 12:14:01 +0000</pubDate>
</item>
<item>
<title>How to have a TreeView in a search result grid, when linking entities ?</title>
<link>https://overflow.efficy.io/?qa=2484/how-have-treeview-search-result-grid-when-linking-entities</link>
<description>&lt;p&gt;Hello,&lt;br&gt;
Customer is asking to have a treeview in the search result list, this feature was in Efficy 2012...&lt;br&gt;
Scenario :&lt;br&gt;
 Open an Opportunity, &lt;br&gt;
 -&amp;gt; link a Product&lt;br&gt;
      -&amp;gt; Search screen shows-up, input a product name&lt;br&gt;
          -&amp;gt; from the result list, be able to drill down the product hierarchy and pick the desired article&lt;/p&gt;

&lt;p&gt;Does anyone knows if this can be customised in Efficy 10 SP2 ?&lt;/p&gt;

&lt;p&gt;Tkx,&lt;br&gt;
Frédéric&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2484/how-have-treeview-search-result-grid-when-linking-entities</guid>
<pubDate>Thu, 11 May 2017 09:18:49 +0000</pubDate>
</item>
<item>
<title>Format of numbers in grid doesn't seem to work</title>
<link>https://overflow.efficy.io/?qa=2451/format-of-numbers-in-grid-doesnt-seem-to-work</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I'm working on a development to show information from an external database as extra tabs on the Company consult. In this grid I've got some fields that are currency.&lt;br&gt;
For instance I use the following definition for a field:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.EUROSLY {[&amp;lt;td class=&quot;text-end&quot;&amp;gt;&amp;lt;#F=$FIELD$;FORMAT=,0.00&amp;gt; &amp;amp;euro;&amp;lt;/td&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This shows up as follows in the grid:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=5189160227954042965&quot; alt=&quot;Numbers in grid doesn't show as format as the sumfields do.&quot;&gt;&lt;/p&gt;

&lt;p&gt;Is this a known issue?&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=2451/format-of-numbers-in-grid-doesnt-seem-to-work</guid>
<pubDate>Fri, 21 Apr 2017 19:08:19 +0000</pubDate>
</item>
<item>
<title>How format a specific columns into a query result</title>
<link>https://overflow.efficy.io/?qa=2293/how-format-a-specific-columns-into-a-query-result</link>
<description>&lt;p&gt;I try to format the column BUDGET into a query result.&lt;br&gt;
Usually i use something like that &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.BUDGET {[&amp;lt;td class=&quot;text-end&quot;&amp;gt;&amp;lt;#F=$FIELD$;FORMAT=,0.00&amp;gt;&amp;lt;/td&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But the format isn't applied. &lt;br&gt;
I declare it into GridColumnsCustom, it works into other grids but not into a queryresult.&lt;br&gt;
Any idea why ?&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2293/how-format-a-specific-columns-into-a-query-result</guid>
<pubDate>Tue, 14 Feb 2017 14:24:16 +0000</pubDate>
</item>
<item>
<title>Load specific functions after reloading all the page.</title>
<link>https://overflow.efficy.io/?qa=1749/load-specific-functions-after-reloading-all-the-page</link>
<description>&lt;p&gt;I have some customs function called into ListScriptsCustom&lt;br&gt;
when I click from a menu to open the consult content my customs function are well loaded.&lt;/p&gt;

&lt;p&gt;But if in any other way i refresh the page all functions called into ListScriptsCustom are not loaded anymore. &lt;/p&gt;

&lt;p&gt;I tried to refresh list.js  or gridView.js with .start().&lt;br&gt;
Do you know How I could load each time the requirejs + my customs.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1749/load-specific-functions-after-reloading-all-the-page</guid>
<pubDate>Fri, 01 Jul 2016 13:03:20 +0000</pubDate>
</item>
<item>
<title>Totals in grids</title>
<link>https://overflow.efficy.io/?qa=264/totals-in-grids</link>
<description>&lt;p&gt;Dear,&lt;/p&gt;

&lt;p&gt;I'm having a custom view with a sum on a float field.&lt;br&gt;
The view is on a custom entity.&lt;br&gt;
When making the total of this float field, I get different values depending of the current user logged in although both users see the same number of records(617). Even when I export the records and make the sum, I get again a different total. The Excel total is a correct total, the sums of my custom view is never correct.&lt;/p&gt;

&lt;p&gt;Does anyone has experience with this phenomenon?&lt;/p&gt;

&lt;p&gt;Erwin&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=264/totals-in-grids</guid>
<pubDate>Wed, 11 Mar 2015 13:31:18 +0000</pubDate>
</item>
</channel>
</rss>