<?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: Item inside  &amp;lt;nuxeo-data-table-column&amp;gt; send to a function as an argument yields empty object in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326902#M13903</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I don't really know: do you have tried with &lt;CODE&gt;[[_callme(item)]]&lt;/CODE&gt; instead? Can you post all the code to investigate?&lt;/P&gt;
&lt;P&gt;The best approach for debugging Web UI is to use the browser extension with break points (see practical use cases in &lt;A href="https://university.nuxeo.com/learn/course/external/view/elearning/83/dev-tools"&gt;https://university.nuxeo.com/learn/course/external/view/elearning/83/dev-tools&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 19:52:16 GMT</pubDate>
    <dc:creator>Gregory_Carlin</dc:creator>
    <dc:date>2020-05-14T19:52:16Z</dc:date>
    <item>
      <title>Item inside  &lt;nuxeo-data-table-column&gt; send to a function as an argument yields empty object</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326901#M13902</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;nuxeo-data-table-column&amp;gt;
  [[item.title]]
&amp;lt;/nuxeo-data-table-column&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;This works. 'item.title' renders title.&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;nuxeo-data-table-column&amp;gt;
{{_callme(item)}}
&amp;lt;/nuxeo-data-table-column&amp;gt;

_callme: function (item) {
console.log(item);
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;**  This doesn't work. item is empty object**&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Where my I wrong ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 13 May 2020 12:08:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326901#M13902</guid>
      <dc:creator>dipesh_kc</dc:creator>
      <dc:date>2020-05-13T12:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Item inside  &lt;nuxeo-data-table-column&gt; send to a function as an argument yields empty object</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326902#M13903</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I don't really know: do you have tried with &lt;CODE&gt;[[_callme(item)]]&lt;/CODE&gt; instead? Can you post all the code to investigate?&lt;/P&gt;
&lt;P&gt;The best approach for debugging Web UI is to use the browser extension with break points (see practical use cases in &lt;A href="https://university.nuxeo.com/learn/course/external/view/elearning/83/dev-tools"&gt;https://university.nuxeo.com/learn/course/external/view/elearning/83/dev-tools&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 19:52:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326902#M13903</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2020-05-14T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Item inside  &lt;nuxeo-data-table-column&gt; send to a function as an argument yields empty object</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326903#M13904</link>
      <description>&lt;P&gt;I have tried with both [[_callme(item)]] and {{_callme(item)}} with no success. I end up fetching page provider manually and fed to 'items' property  to 'nuxeo-data-table' which then works&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 04:33:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/item-inside-lt-nuxeo-data-table-column-gt-send-to-a-function-as/m-p/326903#M13904</guid>
      <dc:creator>dipesh_kc</dc:creator>
      <dc:date>2020-05-15T04:33:08Z</dc:date>
    </item>
  </channel>
</rss>

