Item inside <nuxeo-data-table-column> send to a function as an argument yields empty object
<nuxeo-data-table-column>
[[item.title]]
</nuxeo-data-table-column>
This works. 'item.title' renders title.
<nuxeo-data-table-column>
{{_callme(item)}}
</nuxeo-data-table-column>
_callme: function (item) {
console.log(item);
}
This doesn't work. item is empty object**
Where my I wrong ?
0 votes
1 answers
1006 views
Hello,
I don't really know: do you have tried with [[_callme(item)]]
instead? Can you post all the code to investigate?
The best approach for debugging Web UI is to use the browser extension with break points (see practical use cases in https://university.nuxeo.com/learn/course/external/view/elearning/83/dev-tools
Regards
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
05/15/2020