Lightning Web Components: Datatable with LDS and Apex

Lightning and Lightning Web Components LWC Cover Image

Current week is Lightning Web Components (LWC) week. So I tried my hands on it and created a sample app. Using this sample app you will get the idea of LWC Datatable, LWC LDS RecordEditForm components. How to pass data between components using events and how to call apex method from Lightning Web Components(LWC). But … Continue reading Lightning Web Components: Datatable with LDS and Apex

Advertisements

Lightning DataTable: Lazy Loading with Inline Editing and Actions

Lightning and Lightning Web Components LWC Cover Image

So we are in 2019. Happy new year everyone. Hope this year brings good luck to everyone. Previously we developed a Lightning DataTable with Lazy Loading In that post we can load large amount of data. But if we need to perform some action on that, that was missing. So I enhanced that component and included … Continue reading Lightning DataTable: Lazy Loading with Inline Editing and Actions

Lightning Global Search Component

Previously I have shared a search/Lookup component.  But using that we can only search one object at a time. So today I am sharing a global search component. Using this we can search on multiple objects.   https://gist.github.com/tushar30/230acd37cb064c75c1e6a03b9e0159d1 Here we are getting value when user change input. Currently it select few standard object and custom object, … Continue reading Lightning Global Search Component

Lightning:Map show data on Google Map

Winter 19 is rolling for everyone. I have shared some points which I like most in winter 19. Which you can read here.  with winter 19 Salesforce introduce many components, one of them is lightning:map. It is very useful for developers. Previously when you want to show address on google map you need google api … Continue reading Lightning:Map show data on Google Map

Lightning:RecordEditForm Save Data Without Apex

In the last post we check the Lightning:recordForm Which is a great tool. But there some limitation.  Like we can't prepopulate data in that. So today we will check another component, Lightning:RecordEdit form. It is very good component, using this we can create edit page, check our custom validation and store the data into Salesforce without … Continue reading Lightning:RecordEditForm Save Data Without Apex

Lightning Data Table With Lazy Loading

Display Large Amount of Data in Visualforce always create problem. There are many limits which we need to overcome to show data in page. In Lightning we can use Datatable component with Lazy loading to show infinite records. Wew can also include sorting as well. Today We will create a Lightning Datatable with generic sObject … Continue reading Lightning Data Table With Lazy Loading

Custom Lookup Lightning Component

Lookups are very important components in Salesforce. Salesforce vide inputfield to handle the Lookup component out of the box. But they come with there own set of limitations. So today I have created a basic Lookup Lightning Component which we can easily use with our existing apps or component to make it work. I tried … Continue reading Custom Lookup Lightning Component

Display Generic sObject in Lightning

  In the last post we study how we can iterate map in Lightning. There is one more thing which we face many time is dynamic field binding. Visualforce wit dynamic field binding we can dynamically create field instance but in lightning this is a major limitation. Today we will see how we can use … Continue reading Display Generic sObject in Lightning