mirror of
				https://github.com/Alfresco/alfresco-ng2-components.git
				synced 2025-10-29 15:21:39 +00:00 
			
		
		
		
	* [ADF-4308] DatatableComponent - add Json cell type * [ADF-4308] - PR changes * [ADF-4306] - remove unnecesary code and properties * [ADF-4308] - PR changes
		
			
				
	
	
	
		
			1.4 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			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