<?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 How to bind the correctly function in the nuxeo-data-table-form? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-bind-the-correctly-function-in-the-nuxeo-data-table-form/m-p/321273#M8274</link>
    <description>&lt;P&gt;Hi I have the next code,&lt;/P&gt;
&lt;P&gt;When I used the property  &lt;STRONG&gt;selection-formatter="[[_getDocTitle]]"&lt;/STRONG&gt;  of nuxeo-document-suggestion in the nuxeo-data-table-column the function works fine BUT when I used the same property in nuxeo-data-table-form the function not working (the function not execute).&lt;/P&gt;
&lt;P&gt;I can't see any error in the console, How to bind the correctly function in the nuxeo-data-table-form?&lt;/P&gt;
&lt;P&gt;I need disabled link of document because when I open document in edit mode (opened popup for add more document in table) then I clic on the link  refer document and  the pop up with the information the other document in edit mode too.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-javascript"&gt;&amp;lt;nuxeo-data-table role="widget" label="Respuesta Interna" items="{{document.properties.doc_base:fileList}}" orderable="false" editable="true" name="fileList"&amp;gt;
  &amp;lt;nuxeo-data-table-column name="Respuesta"&amp;gt;
	&amp;lt;template&amp;gt;
		&amp;lt;nuxeo-document-suggestion role="widget" value="[[item.fileInterno]]" readonly="true" multiple="true" name="fileInterno" page-provider="FILTER_DEMO_PP" selection-formatter="[[_getDocTitle]]" &amp;gt;&amp;lt;/nuxeo-document-suggestion&amp;gt;
	&amp;lt;/template&amp;gt;
&amp;lt;/nuxeo-data-table-column&amp;gt;
  
&amp;lt;nuxeo-data-table-form&amp;gt;
	&amp;lt;template&amp;gt;
		&amp;lt;nuxeo-document-suggestion value="{{item.fileInterno}}" label="Respuesta" multiple="true" name="fileInterno" page-provider="FILTER_DEMO_PP" required="true" selection-formatter="[[_getDocTitle]]"
&amp;gt;&amp;lt;/nuxeo-document-suggestion&amp;gt;
	&amp;lt;/template&amp;gt;
&amp;lt;/nuxeo-data-table-form&amp;gt;
&amp;lt;/nuxeo-data-table&amp;gt;

// JAVASCRIPT

_getDocTitle: function (doc){
                return doc.title;
            },

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards!!
Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 06:26:53 GMT</pubDate>
    <dc:creator>Gabino_Reyes</dc:creator>
    <dc:date>2022-02-03T06:26:53Z</dc:date>
    <item>
      <title>How to bind the correctly function in the nuxeo-data-table-form?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-bind-the-correctly-function-in-the-nuxeo-data-table-form/m-p/321273#M8274</link>
      <description>&lt;P&gt;Hi I have the next code,&lt;/P&gt;
&lt;P&gt;When I used the property  &lt;STRONG&gt;selection-formatter="[[_getDocTitle]]"&lt;/STRONG&gt;  of nuxeo-document-suggestion in the nuxeo-data-table-column the function works fine BUT when I used the same property in nuxeo-data-table-form the function not working (the function not execute).&lt;/P&gt;
&lt;P&gt;I can't see any error in the console, How to bind the correctly function in the nuxeo-data-table-form?&lt;/P&gt;
&lt;P&gt;I need disabled link of document because when I open document in edit mode (opened popup for add more document in table) then I clic on the link  refer document and  the pop up with the information the other document in edit mode too.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-javascript"&gt;&amp;lt;nuxeo-data-table role="widget" label="Respuesta Interna" items="{{document.properties.doc_base:fileList}}" orderable="false" editable="true" name="fileList"&amp;gt;
  &amp;lt;nuxeo-data-table-column name="Respuesta"&amp;gt;
	&amp;lt;template&amp;gt;
		&amp;lt;nuxeo-document-suggestion role="widget" value="[[item.fileInterno]]" readonly="true" multiple="true" name="fileInterno" page-provider="FILTER_DEMO_PP" selection-formatter="[[_getDocTitle]]" &amp;gt;&amp;lt;/nuxeo-document-suggestion&amp;gt;
	&amp;lt;/template&amp;gt;
&amp;lt;/nuxeo-data-table-column&amp;gt;
  
&amp;lt;nuxeo-data-table-form&amp;gt;
	&amp;lt;template&amp;gt;
		&amp;lt;nuxeo-document-suggestion value="{{item.fileInterno}}" label="Respuesta" multiple="true" name="fileInterno" page-provider="FILTER_DEMO_PP" required="true" selection-formatter="[[_getDocTitle]]"
&amp;gt;&amp;lt;/nuxeo-document-suggestion&amp;gt;
	&amp;lt;/template&amp;gt;
&amp;lt;/nuxeo-data-table-form&amp;gt;
&amp;lt;/nuxeo-data-table&amp;gt;

// JAVASCRIPT

_getDocTitle: function (doc){
                return doc.title;
            },

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards!!
Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 06:26:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-bind-the-correctly-function-in-the-nuxeo-data-table-form/m-p/321273#M8274</guid>
      <dc:creator>Gabino_Reyes</dc:creator>
      <dc:date>2022-02-03T06:26:53Z</dc:date>
    </item>
  </channel>
</rss>

