alfresco-ng2-components/docs/core/components/json-cell.component.md
Silviu Popa 506ca306da [ADF-4308] DatatableComponent - add Json cell type (#4518)
* [ADF-4308] DatatableComponent - add Json cell type

* [ADF-4308] - PR changes

* [ADF-4306] - remove unnecesary code and properties

* [ADF-4308] - PR changes
2019-04-05 12:46:15 +01:00

1.4 KiB

Title, Added, Status
Title Added Status
JsonCell component v2.0.0 Active

JsonCellComponent

Show Json formated value inside 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 configuration file

  "adf-cloud-process-list": {
        "presets": {
            "default": [
                {
                    "key": "entry.json",
                    "type": "json",
                    "title": "Json cell value"
                }
            ]
        }
    },

Class members

Properties

Name Type Default value Description
data DataTableAdapter null Data adapter instance.
column DataColumn null Data that defines the column
row DataRow Data that defines the row

Details

This component provides a custom display to show a Datatable component cell

See also