class EmployeeVehicle{ constructor(){ this.name = "employeevehicle"; } static GetCustomDestination(data, dest){ return "controlcentre.dataload"; } static GetCustomDestID(data, destID){ return -1; } static GetColumns(){ return [] } static TableDataCreate(row, key){ return `${row[key]}`; } static GetEdit(data={}){ return { "emegency_vehicle_id": { "val" : data.emegency_vehicle_id ?? "-1" ,"type" : "dropdown" ,"mandatory":true ,"isRow":true ,"options":data.extraData.vehicles } } } }