No video

LWC Bootcamp Day 45 | Part 3: Lightning Data Table: Add Picklist Field on Data Table

  Рет қаралды 2,687

Tech Journey With Ankit

Tech Journey With Ankit

Күн бұрын

Welcome to Part 3 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.
🔄 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 #salesforcelighting #datatable

Пікірлер: 17
@KeshavPandit-ek6ew
@KeshavPandit-ek6ew 7 ай бұрын
Thanks Ankit.. It's amazing feature for coder.
@TechJourneyWithAnkit
@TechJourneyWithAnkit 7 ай бұрын
Glad you found this helpful
@alishalinski
@alishalinski Ай бұрын
Thank u for video Just confused in one part My question is why we need to keep fieldName:”LeadSource” where we anyway in custom type we r showing it as value and also on typeAttributes one more time assigning LeadSource to it?
@kallurma
@kallurma 4 ай бұрын
Hi @Ankit, it's very nice session, Here how to make picklist field is readonly on condition base, because we are getting picklist custom datatable main component readonly is not applied onload the page if the picklist field value is 'warm' i need to make readonly. Pls suggest how to do that. Even I tried in compobox read-only it's working, but it's applying all values this is wrong scenario
@TechJourneyWithAnkit
@TechJourneyWithAnkit 4 ай бұрын
As per my knowledge that is not possible. Need to do more research on this
@FranciscoAndresCruzChalparizan
@FranciscoAndresCruzChalparizan 2 ай бұрын
Can you please share the source code?
@ambujverma5715
@ambujverma5715 8 ай бұрын
Can we create an editable lookup field column by using this edit template concept?
@TechJourneyWithAnkit
@TechJourneyWithAnkit 8 ай бұрын
Yes you can
@raghavendrasharma2466
@raghavendrasharma2466 8 ай бұрын
In one of my interview, interviewer ask me a question, if with the help of @wire shows the data in datatable, and if someone create a new records, will its automatically show that data or what happens?
@TechJourneyWithAnkit
@TechJourneyWithAnkit 8 ай бұрын
Answer to this is no, you have to invoke refreshApex to notify the wire decorator to reload the data
@raghavendrasharma2466
@raghavendrasharma2466 8 ай бұрын
@@TechJourneyWithAnkit it mean we can refresh the client-side cache data using refreshApex to get the updated data in case of @wire?
@RenataSilva-dp3lx
@RenataSilva-dp3lx 4 ай бұрын
Is it possible to do this with richtext?
@TechJourneyWithAnkit
@TechJourneyWithAnkit 4 ай бұрын
Never tried that, but datatable will be clumsy and user experience will not be good. Instead go for row action
@Infinite0042
@Infinite0042 8 ай бұрын
But..What if we want to add 2 picklist field?
@TechJourneyWithAnkit
@TechJourneyWithAnkit 8 ай бұрын
for another picklist , you can use the same custom type, only new column defination and new picklist data is needed
@DSA_Javascript
@DSA_Javascript 2 ай бұрын
can I get a source code of it ?
@TechJourneyWithAnkit
@TechJourneyWithAnkit 2 ай бұрын
Not shared due to copyright
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 86 МЛН
what will you choose? #tiktok
00:14
Анастасия Тарасова
Рет қаралды 6 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,8 МЛН
Property Market Perspectives! Accountant vs. Buyer's Agent - With Jeremy Iannuzzelli
25:22
What School Should Have Taught You
Рет қаралды 25
I Never Want to Create React Tables Any Other Way
5:40
Josh tried coding
Рет қаралды 258 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН