mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
* [ADF-4391] Reviewed new clipboard class docs * [ADF-4391] Reviewed new proc cloud class docs * [ADF-4391] Reviewed new datatable doc additions
1.7 KiB
1.7 KiB
Title, Added, Status, Last reviewed
| Title | Added | Status | Last reviewed |
|---|---|---|---|
| Json Cell component | v3.2.0 | Active | 2019-04-12 |
Json Cell Component
Shows a JSON-formatted value inside a datatable component.
Basic Usage
<adf-datatable ...>
<data-columns>
<data-column key="entry.json" type="json" title="Json Column"></data-column>
</data-columns>
</adf-datatable>
You can specify the cell inside the app.config.json file:
"adf-cloud-process-list": {
"presets": {
"default": [
{
"key": "entry.json",
"type": "json",
"title": "Json cell value"
}
]
}
},
Class members
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| column | DataColumn |
Data that defines the column. | |
| copyContent | boolean |
Enables/disables a Clipboard directive to allow copying of the cell's content. | |
| data | DataTableAdapter |
Data table adapter instance. | |
| row | DataRow |
Data that defines the row. | |
| tooltip | string |
Text for the cell's tooltip. |
Details
This component provides a custom display to show JSON data in a Datatable component cell