Closed AndyHaas closed 4 years ago
Are you trying to display a datatable with an Apex Defined Object?
Not necessarily an Apex Defined Object, since I need to get some Child data and show this on the data table I am building my own object to display the data.
To use your own object, you should define it with an Apex Defined variable. See how to implement that so it can be displayed in the datatable component here: https://ericsplayground.wordpress.com/how-to-use-an-apex-defined-object-with-my-datatable-flow-component/
@ericrsmith35, We are working with Milestones and having to do a ton of custom things just to show status and other fields from the milestone in LEX. One of the things we had was a report that we wanted to put on a Home Page. Except you can't put a report on a Home Page. So using LWC I am doing a SOQL query to get the data and return.
The issue I have is that the table comes back with no records as the data is still coming in.
At the time of everything finished compiled I do see in my console that flattenRecord returns 4 objects
flattenRecord: [object Object],[object Object],[object Object],[object Object]
I am running apexRefresh tying to refresh the LWC but not getting the page to load the datatable.