Is there a way to use list view widget in custom components with all same functions as on record tabs. To create new list view Edit list view.
Planning to build a console on custom object, leveraging the list views filter
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
You cannot use standard list view component in your custom lightning component because it not exposed yet. You need to build a custom component with SLDS style.
While building such a component make it generic and configurable as possible so that it can be reused in multiple places. Look at this post on Best Practices for Advanced Lightning Apps, it will shed some light on how to design/architect such components.
yes you can do so by using lightning:listView component. it is available in api version 42 and above.
But it is supported only for some objects.
<lightning:listView aura:id="listViewAccounts" objectApiName="Account" listName="My_Accounts" rows="5" showActionBar="false" enableInlineEdit="true" showRowLevelActions="false" />
It is available for standard objects only for now.