You need to sign in to do that
Don't have an account?
The new Learner
Custom list view with filter using LWC
Hi Experts,
Can anyone help me out, how to create list view along with filter criteria using LWC.
Can anyone help me out, how to create list view along with filter criteria using LWC.
Try Below Code Please Mark It As Best Answer If It Helps
Thank You!
All Answers
https://salesforceprofs.com/custom-list-view-in-lwc/
They have set filter on priority .You can have similar
const filterOptions = [
{ value: HIGH_PRIORITY, label: HIGH_PRIORITY },
{ value: LOW_PRIORITY, label: LOW_PRIORITY },
{ value: MEDIUM_PRIORITY, label: MEDIUM_PRIORITY },
{ value: ALL_PRIORITY, label: ALL_PRIORITY },
];
If it helps mark it as best answer.
Thanks!
I need dyamic one.
Try Below Code Please Mark It As Best Answer If It Helps
Thank You!
Thanks for the reply its wokring, but can you help me out, how can i apply filter for this list view.
its not showing any data, cant we create an filter like for example if i want to see opportunity record whose stage is closed won we will apply in the list view filter we will see , like wise can we amend the filter in this code.