ironmansoftware / universal-dashboard

Build beautiful websites with PowerShell.
https://universaldashboard.io
GNU Lesser General Public License v3.0
449 stars 85 forks source link

Implement Griddle Subgrid functionality for UDGrid #1320

Open bitfliptech opened 5 years ago

bitfliptech commented 5 years ago

Is your Enhancement request related to a problem? Please describe

This Enhancement is not related to a UD problem. I'm trying to solve the issue of displaying add'l details of data in a grid row. The use case doesn't warrant creating an additional UDGrid with the data because this would cause a disjointed user experience.

Describe the solution you'd like

Implementing the Griddle Subgrids functionality would solve this problem. This allows for expandable rows just by defining a property named 'children' that contains an array of additional properties.

Describe how this would improve your Universal Dashboard Quality of Life

This would provide a cleaner more seamless user experience for expanding more details about the row data rather than popping up a UDCard with the details.

Describe alternatives you've considered

I've thought about defining a UDTable within the row data, using a UDButton to open a UDCard, implementing Jquery DataTables, or just coding this by hand.

Additional context

Here are the docs for Griddle Subgrids https://griddlegriddle.github.io/v0-docs/subgrids.html

Claustn commented 4 years ago

Any plans on implementing this ?

adamdriscoll commented 4 years ago

We are moving to Material-Table and it supports this functionality. We'll get it in 3.0.