I am trying to populate a Lightning Web Component that I put together with particular Case fields. No matter what I try, I can't get any data into my Lightning-DataTable. Does anyone know how to do this?

enter image description here

  • 1
    Can you add relevant code snippets? Aug 29, 2019 at 18:26

1 Answer 1


Its Not possible.

Lightning data service is meant to work on single record and you need List of records in data-table. Although we get the property records (which is single record) in data-service, there is nothing in roadmap as of now which shows data-service will be made to get list of records.

As of today, you should get the list of records from Apex only.

  • This could be possibly true if the OP is trying to fetch records using LDS. With the current state of the post except for the tag, it doesn't suggest that how OP is trying to retrieve the records, I think we need to see a bit of code here.
    – Jayant Das
    Aug 29, 2019 at 18:40
  • 1
    I ended up writing custom Apex using a Model to capture the fields the way I wanted to display them in the grid.
    – Mr. B
    Sep 12, 2019 at 16:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .