mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
parent
e0b42ca932
commit
ccdc34952c
@ -67,9 +67,16 @@ In addition ```DOCUMENT_LIST_PROVIDERS``` exports all primary services and provi
|
|||||||
|
|
||||||
### Custom columns
|
### Custom columns
|
||||||
|
|
||||||
|
It is possible to reorder, extend or completely redefine data columns displayed by the component.
|
||||||
|
By default special `$thumbnail` and `displayName` columns are rendered.
|
||||||
|
|
||||||
|
A custom set of columns can look like the following:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<alfresco-document-list ...>
|
<alfresco-document-list ...>
|
||||||
<content-columns>
|
<content-columns>
|
||||||
|
<content-column source="$thumbnail"></content-column>
|
||||||
|
<content-column title="Name" source="displayName" class="full-width name-column"></content-column>
|
||||||
<content-column title="Created By" source="createdBy"></content-column>
|
<content-column title="Created By" source="createdBy"></content-column>
|
||||||
<content-column title="Created On" source="createdOn"></content-column>
|
<content-column title="Created On" source="createdOn"></content-column>
|
||||||
</content-columns>
|
</content-columns>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user