binxie
2023-06-26 b5c5eb130ca0848124f9d136af4be142ad5aac07
force-app/main/default/lwc/myCustomTypeDatatable/myCustomTypeDatatable.js
@@ -6,7 +6,10 @@
import customNameTemplate from './customName.html';
import customNumberTemplate from './customNumber.html';
export default class MyCustomTypeDatatable extends LightningDatatable {
    // static customTypes = {
    //     customUnit: {
    //         template: customUnitTemplate,
@@ -27,12 +30,12 @@
        customName: {
            template: customNameTemplate,
            standardCellLayout: true,
            typeAttributes: ['accountName']
            typeAttributes: ['accountName'],
        }
        // Other types here
    };
    }
    connectedCallback() {
        console.log('MyCustomTypeDatatable enter');
        console.log('MyCustomTypeDatatable enter')
    }
}