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 want to show 2 grid/list layout in one document types. For example, in one document type, I wanted to show - list of Products in one tab and list of Categories in another tab.
I tried to achieve the same using document type composition, but didn't worked as expected. Here is what I have tried:
Can someone please guide me on how can I have 2 (or more) grid/list in one document type. If not, what is the closet and practical approach to this?
Thanks in advance.
Bumping up this thread. Here is what I am trying to implement. I have page in back office with 2 tabs. I want to show a grid in first tab and another grid in second tab.
Below is sample representation.
Is it possible to have similar implementation? Any help will be appreciated.
As you have figured out the listview is just another way of showing children.
There is no easy fix to implement multiple list. Attempts has been made before https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/87938-customized-list-views-and-filters
The biggest hurdle is that you can’t filter the content serverside, so you can’t “get 10 items for list a” and “get 10 items for list b”, but have to “get 10 items” and filter the items clientside — ending up with “9 categories and 1 product” on page 1.
A first step could be to allow filtering in the resource that fetches the children.
Another method could be to just create a hidden list that handles the default, and just render your own views instead.
Thanks for the reply and sharing the link. Let me do some homework on the same.
Thanks again :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted