Shows a JSON-formatted value inside a datatable component.
<adf-datatable>
<data-columns>
<data-column key="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": "json",
"type": "json",
"title": "Json cell value"
}
]
}
}
}
| 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. | |
| editable | boolean | false | Editable JSON. |
| resolverFn | Function | null | Custom resolver function which is used to parse dynamic column objects |
| row | DataRow | Data that defines the row. | |
| tooltip | string | Text for the cell's tooltip. |
This component provides a custom display to show JSON data in a Datatable component cell
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.