diff --git a/ng2-components/ng2-alfresco-documentlist/README.md b/ng2-components/ng2-alfresco-documentlist/README.md index 55b6f939d4..88dc432369 100644 --- a/ng2-components/ng2-alfresco-documentlist/README.md +++ b/ng2-components/ng2-alfresco-documentlist/README.md @@ -156,10 +156,10 @@ A custom set of columns can look like the following: ```html - + - + ``` @@ -187,13 +187,29 @@ the binding value for the Site column to display location site will be `location ```html - + ``` +### Column definition + +HTML attributes: + +| Name | Type | Default | Description +| --- | --- | --- | --- | +| title | string | | Column title | +| sr-title | string | | Screen reader title, used only when `title` is empty | +| source | string | | Column source, example: `createdByUser.displayName` | +| class | string | | CSS class list, example: `full-width name-column` | +| type | string | text | Column type, text\|date\|number | +| format | string | | Value format pattern | + +For `date` column type the [DatePipe](https://angular.io/docs/ts/latest/api/common/DatePipe-class.html) formatting is used. +For a full list of available `format` values please refer to [DatePipe](https://angular.io/docs/ts/latest/api/common/DatePipe-class.html) documentation. + ### Custom folder icon Document list element exposes `folder-icon` property that accepts a CSS class list value with