Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 1.83 KB

json-cell.component.md

File metadata and controls

61 lines (48 loc) · 1.83 KB
Title Added Status Last reviewed
Json Cell component
v3.2.0
Active
2019-04-12

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