Alternate View for Array Data instead of nuxeo-data-table?
Has anyone development or know of a better method of display array data instead to the standard nuxeo-data-table
that gets generated in a layout, specifically for view-layouts?
I have a few fields that are arrays that users can enter data into (instead of selecting from a directory). Studio creates nuxeo-data-tables
for these types of fields, but the design/css for them take up a lot of space. I tried modifying some of the styes and made some progress, but it isn't ideal. It would be more ideal to list the values in the array similar to nuxeo-directory-suggestion
, but I can't just utilize that because it creates errors when new data is added to the array. Just looking for a better way to do this without taking up a lot of screen space.
Here are some examples of live vs the idea of changing the layout.
Hello,
In document layout, you could do whatever you need by looping every value:
<template is="dom-repeat" items="[[document.properties.MYPREFIX:MYPROPERTY]]" as="property">
// Whatever needed like <nuxeo-tag>[[formatDirectory(property)]]</nuxeo-tag>
</template>
The fixed height issue is identified by the Nuxeo team.
Regards