mattbrailsford / umbraco-fluidity

A fluent CRUD user interface generator for Umbraco
https://our.umbraco.org/projects/backoffice-extensions/fluidity/
Apache License 2.0
48 stars 40 forks source link

Multiple dataviews per object #65

Open robjd opened 6 years ago

robjd commented 6 years ago

I want to have multiple data views (dropdowns) for my list page. I have created one data view by using the listViewConfig.AddDataView sytnax but can't see a way to have multiple drop downs. My object has over 20 properties and I would like to have several data views covering different properties. Is this possible?

mattbrailsford commented 6 years ago

@robjd unfortunately not at the moment fluidity only supports a single list of data views. The best you could do is use a Data View Builder to dynamically build a list of combinations https://umco.github.io/umbraco-fluidity/api/data-views-builders/

robjd commented 6 years ago

Are there any plans on the roadmap to have multiple data views? Also do you have a code example for the DataView Builder?