LWC Bootcamp Day 44 | Part 2: Lightning Data Table : Update Record with Inline Edit

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2023
  • Welcome to Part 2 of our Lightning Data Table tutorial series! In this episode, we dive deeper into Salesforce Lightning Data Tables, exploring two crucial functionalities: Updating Records and Loading Picklist Values Dynamically.
    ⚙️ Updating Records:
    Learn how to make your Lightning Data Table interactive by enabling record updates! We'll guide you through the process of configuring editable columns and handling record updates in the Lightning component controller.
    🔄 Loading Picklist Values Dynamically:
    Discover how to dynamically load picklist values in your Lightning Data Table. We'll leverage Apex controllers to fetch picklist values from Salesforce and seamlessly integrate them into your Lightning component.
    🔧 Key Topics Covered:
    Enabling record updates in Lightning Data Table.
    Configuring editable columns with the editable attribute.
    Handling record updates in the Lightning component controller.
    Dynamically loading picklist values using Apex controllers.
    Integrating picklist values into your Lightning component for a dynamic user experience.
    👩‍💻 Prerequisites:
    Make sure you have watched Part 1 of our Lightning Data Table series to build a solid foundation before diving into this advanced tutorial.
    🔔 Subscribe and Stay Tuned:
    Don't forget to subscribe to our channel for more Salesforce tutorials, tips, and best practices. Hit the notification bell to stay updated on the latest content!
    #salesforce #lwc #lightningwebcomponent #salesforcedeveloper #salesforcelighting

ความคิดเห็น • 11

  • @laggavenkatagiri8464
    @laggavenkatagiri8464 หลายเดือนก่อน

    Good Video !!

  • @SfdcLearner
    @SfdcLearner 4 หลายเดือนก่อน

    Got to this video by Search. I loved it. Now i will watch Whole series from Beginning ❤

  • @user-dr9dc3yr5t
    @user-dr9dc3yr5t 4 หลายเดือนก่อน

    Hello Ankit, its very helpful knowledge you are sharing thanks for that, I am also requesting to you make video on populating lookup field and inline editing.

  • @nitinnainwal
    @nitinnainwal หลายเดือนก่อน

    Hi Ankit, Save button functionality is not working for me. It is showing - Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received. Please help.

    • @nitinnainwal
      @nitinnainwal หลายเดือนก่อน

      I have done the exactly same thing as you did in this video.

    • @Nitin-ep4xg
      @Nitin-ep4xg หลายเดือนก่อน

      Hey can you post your code here. i believe you are getting error on the line--> let updateRecPromiseArray = updateRecordsArray.map((currItem) => updateRecord(currItem))
      // console.log('updateRecPromiseArray>>>' , JSON.stringify(updateRecPromiseArray));
      or you can check in debug console by applying breakpoints.

  • @kallurma
    @kallurma 3 หลายเดือนก่อน

    Hi @Anki, it's nice session. It's very useful for me. I need help I'm displaying all columns in lwc datatable popup. When i click on save it's not saving

    • @TechJourneyWithAnkit
      @TechJourneyWithAnkit  3 หลายเดือนก่อน

      Check the error message in catch block to validate why it is not saving