forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

Cannot render datatable with contact/sObject information #63

Open urmindersingh opened 4 years ago

urmindersingh commented 4 years ago

Describe the bug When we create a lightning-datatable using data from apex controller then in the local development we see error "Cannot read property 'offsetWidth' of null" while if I deploy the same component and then see within the Lightning then I can see datatable as expected with all the data from Contact/sObject record.

To Reproduce Steps to reproduce the behavior: As per this document https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/documentation I try to create data table defined in section Retrieving Data Using an Apex Controller

  1. Create Apex Class as mentioned and deploy it.
  2. create LWC component as mentioned in this doc and save
  3. Open local development
  4. See error

Expected behavior Local development should show datatable with the contact records from the salesforce

Screenshots

Screenshot 2020-05-06 at 11 44 59 AM

Desktop (please complete the following information):

stale[bot] commented 4 years ago

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.