buli
2023-06-05 91f850751b85ab0125679a6ea446cbd8a622b46d
force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
@@ -12,6 +12,9 @@
import customTableCellIconTemplate from './customTableCellIcon.html';
import customOutboundCountTemplate from './customOutboundCount.html';
import customWeeklyReportTemplate from './customWeeklyReport.html';
import customAgencyOppInputTemplate from './customAgencyOppInput.html';
import customMyDrCheckBoxTemplate from './customMyDrCheckBox.html';
import customdeleteReasonTemplate from './customdeleteReason.html';
import { loadStyle} from 'lightning/platformResourceLoader';
import LexCustomDataTable from '@salesforce/resourceUrl/LexCustomDataTable';
@@ -19,7 +22,7 @@
    static customTypes = {
        customUnit: {
            template: customUnitTemplate,
            typeAttributes: ['unitValue','unitOptions','recordId'],
            typeAttributes: ['unitValue','unitOptions','recordId','isDisabled'],
        },
        customShipment: {
            template: customShipmentNumberTemplate,
@@ -68,7 +71,19 @@
        weeklyReport:{
            template: customWeeklyReportTemplate,
            typeAttributes:['recordId','hospitalName','isShowButton'],
        }
        },
        agencyOppInput:{
            template: customAgencyOppInputTemplate,
            typeAttributes:['inputValue','recordId','fieldName','showType'],
        },
        MyDrCheckBox:{
            template: customMyDrCheckBoxTemplate,
            typeAttributes:['recordId','isCheckedMyDr'],
        },
        deleteReason:{
            template: customdeleteReasonTemplate,
            typeAttributes:['recordId'],
        },
    };
    constructor() {
        super();