| | |
| | | import customNameTemplate from './customName.html'; |
| | | import customNumberTemplate from './customNumber.html'; |
| | | |
| | | |
| | | export default class MyCustomTypeDatatable extends LightningDatatable { |
| | | |
| | | |
| | | // static customTypes = { |
| | | // customUnit: { |
| | | // template: customUnitTemplate, |
| | |
| | | customName: { |
| | | template: customNameTemplate, |
| | | standardCellLayout: true, |
| | | typeAttributes: ['accountName'] |
| | | typeAttributes: ['accountName'], |
| | | } |
| | | // Other types here |
| | | }; |
| | | } |
| | | |
| | | connectedCallback() { |
| | | console.log('MyCustomTypeDatatable enter'); |
| | | console.log('MyCustomTypeDatatable enter') |
| | | } |
| | | } |