Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a group of posts I want to create a dropdown filter using a custom field named categories, for example:
The screenshot of the listview:
Hi Francis,
You should be able to use value[0] in the Template field for the column, to make it look nicer.
value[0]
Hope that helps,
/Chriztian
Oh, thank you Chriztian Steinmeier,
I applied your suggestion it works. I need to create a dropdown list using the elements in a checkbox list to filter every post.
Ah - I didn't catch that...
Just in case that's enough; the list is sortable by clicking the "Category" label.
If you really need to add a dropdown for filtering, you'll need to create a custom ListView.
While it's written for Umbraco 7, I'm sure most of the principles etc. are applicable to v8+ too, so have a look at this article:
https://24days.in/umbraco-cms/2016/custom-list-view-layouts/
Thank you Chriztian Steinmeier,
I will check it.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How do I create a dropdown filter into a listview Umbraco
I have a group of posts I want to create a dropdown filter using a custom field named categories, for example:
The screenshot of the listview:
Hi Francis,
You should be able to use
value[0]
in the Template field for the column, to make it look nicer.Hope that helps,
/Chriztian
Oh, thank you Chriztian Steinmeier,
I applied your suggestion it works. I need to create a dropdown list using the elements in a checkbox list to filter every post.
Ah - I didn't catch that...
Just in case that's enough; the list is sortable by clicking the "Category" label.
If you really need to add a dropdown for filtering, you'll need to create a custom ListView.
While it's written for Umbraco 7, I'm sure most of the principles etc. are applicable to v8+ too, so have a look at this article:
https://24days.in/umbraco-cms/2016/custom-list-view-layouts/
/Chriztian
Thank you Chriztian Steinmeier,
I will check it.
is working on a reply...