Refreshing A Lwc Datatable After Updating Selected Records

Lightning Web Components How To Clear Draft Values In Lwc Datatable

Lightning Web Components How To Clear Draft Values In Lwc Datatable

. Aug 23, 2021 · the lwc is working fine using wired apex controller and data table component. it just shows data, no edit. however, when a new product is added by the user in the "add products" default wizzard, the lwc component does not refresh to show the added opportunity product. i have to refresh the whole page to see the correct records in my data table. 439 5 22 add a comment 2 answers sorted by: 3 the way you have it built you would need to update your success handler to refetch records after they have been updated. …. Apr 02, 2021 · here's the html for my component which is just a lightning datatable that lists out opportunties. what i was trying to accomplish was select one or more rows and then update each selected record with an apex method. following the update, i wanted to refresh the datatable. this code does that.