Hi Jozef,

In the end, the basis for the data displayed in the Content-App is a Vaadin 
Container.
Vaadin Containers support filtering, see:
https://vaadin.com/book/-/page/datamodel.container.html#datamodel.container.filtered

So the solution will be something like extending the standard Presenter class 
for the content app to return a view using a custom table or tree which uses a 
container for which you implement filtering logic.

Regards from Vienna,

Richard

> -----Ursprüngliche Nachricht-----
> Von: user-list-ow...@magnolia-cms.com [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von Jozef Chocholácek (via Magnolia Forums)
> Gesendet: Montag, 14. September 2015 15:51
> An: Magnolia User List
> Betreff: [magnolia-user] Filter in Content App
> 
> Hello there!
> 
> I have the following requirement in my new project:
> 
> We have a Content App with let's say Products. Every product has it's
> properties - name, description, price, ... and [b]category[/b] it belongs to: 
> a
> field storing UUID of the Category, which is defined in an other Content App.
> 
> Now, as there will be quite a lot of products, the user should have the
> possibility to filter the products to see only products from one category - a
> functionality similar to the one in Excel[1] or other spreadsheet. Is it 
> possible
> to "turn on" such filter on a column in workbench? Search is of no use here,
> as there is category's UUID as the field value.
> 
> Did anyone implemented such filter? Or any hint, where to start?
> 
> 
> [1] https://support.office.com/en-us/article/Filter-data-in-an-Excel-table-
> 7d8e9739-2898-4bfe-9d0f-c6204e6e5c8a
> 
> 
> Jozef.
> 
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=41de23f9-4bb3-47e2-81df-
> 1fb33a6e254a
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-
> lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to