Skip to main content
6 events
when toggle format what by license comment
Aug 14, 2021 at 17:06 history bounty awarded CommunityBot
Aug 10, 2021 at 1:57 comment added AjFmO I get this error: Uncaught (in promise) TypeError: 'set' on proxy: trap returned falsish for property '3' because I'm trying to push a value to an Object, for the case of the column.
Aug 9, 2021 at 20:23 history edited Jake Richter CC BY-SA 4.0
assumptions, sample json for columns
Aug 9, 2021 at 20:12 comment added Jake Richter Based on your post, the columns property in your apex object is a list. According to your post update, it's a Javascript object. For it to work with the lightning-datatable, it needs to be a list of objects like I showed in my answer. I've added some sample json based on what you've shown.
Aug 9, 2021 at 18:57 comment added AjFmO you got it right, that's what I'm trying to achieve. to add a column to the datatable, tho I'm passing a List of the Apex object, instead of just one. I've tried your method before and did again just in case and it errors Uncaught (in promise) TypeError: 'set' on proxy: trap returned falsish for property '3'. I'll update the question with new insights about my blocker.
Aug 9, 2021 at 15:08 history answered Jake Richter CC BY-SA 4.0