上面代码里的 fieldName: 'Account.Name',这种点的方法的字段,在Lightning DataTable无法显示,可以通过例如将字段名改为AccountName,然后在js里将值重新分配进去 import { LightningElement, track, wire } from 'lwc'; import getCaseList from '@salesforce/apex/DataTableExampleController.getCaseList'; const C...
In order to have the Datatable display a Lookup field as a link to the record rather than just the recordId value in the field, the running User must have Edit access to the object whose records are being displayed in the Datatable. For example, if you have a Datatable for Contact re...