05-13-2020 08:08 AM
<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 ?
05-14-2020 03:52 PM
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
05-15-2020 12:33 AM
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
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.