alfresco-ng2-components/docs/core/components/json-cell.component.md
2023-01-02 14:00:01 +00:00

1.8 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="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"
                }
            ]
        }
    }
}

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.
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.

Details

This component provides a custom display to show JSON data in a Datatable component cell

See also