mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ADF-588] Explicitly added task/process list model classes to docs (#4447)
* [ADF-588] Added short clarifications of where task/proc list props are defined * [ADF-588] Added short clarifications of where task/proc list props are defined * [ADF-588] Fixed links and merge glitches
This commit is contained in:
parent
74738f1f8b
commit
dafda33740
@ -74,8 +74,9 @@ when the process list is empty:
|
|||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
You can define a custom schema for the list in the `app.config.json` file and access it with the
|
The list can show any of the properties of the
|
||||||
`presetColumn` property as shown below:
|
[`ProcessInstance`](../../../lib/process-services/process-list/models/process-instance.model.ts)
|
||||||
|
class. The example below shows how to define a custom schema for the list in the `app.config.json` file and access it with the `presetColumn` property:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"adf-process-list": {
|
"adf-process-list": {
|
||||||
|
@ -90,7 +90,9 @@ renders details of any chosen instance.
|
|||||||
|
|
||||||
### Setting the column schema
|
### Setting the column schema
|
||||||
|
|
||||||
You can use an HTML-based schema declaration to set a column schema for the tasklist as shown below :
|
You can configure the list to show any of the properties of the
|
||||||
|
[`TaskDetailsModel`](../../../lib/process-services/task-list/models/task-details.model.ts)
|
||||||
|
class. The example below shows how to set up the column schema from HTML:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<adf-tasklist ...>
|
<adf-tasklist ...>
|
||||||
@ -211,7 +213,7 @@ The Tasklist also supports pagination as shown in the example below:
|
|||||||
|
|
||||||
See the [Data Table Adapter interface](../../core/interfaces/datatable-adapter.interface.md) page for full details of the interface and its standard
|
See the [Data Table Adapter interface](../../core/interfaces/datatable-adapter.interface.md) page for full details of the interface and its standard
|
||||||
implementation, [`ObjectDataTableAdapter`](../../../lib/core/datatable/data/object-datatable-adapter.ts). Below is an example of how you can set up the adapter for a
|
implementation, [`ObjectDataTableAdapter`](../../../lib/core/datatable/data/object-datatable-adapter.ts). Below is an example of how you can set up the adapter for a
|
||||||
typical tasklist.
|
typical tasklist:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user