1

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

0

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.

| improve this answer | |
-1

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.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_lightning_listView.htm

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.