Montreux
2 years agoNew Contributor III
Dashboard components pop up auto-size to conent
I have a dashboard with graphs and on the side a series of buttons opening input forms for key assumptions. The forms are usually cube views and sometimes a combo box. I would like the pop up dashb...
- 2 years ago
Thoughts:
- The modern trend for popups is to use the option DialogDisplayStyle set to Maximize, effectively taking over the whole page. At that point, the typical issues with scrollbars disappear, and you know what you're working with (the average laptop screen). It's an interaction mode similar to mobile applications.
- An alternative could be to calculate with a rule how many rows your CV is going to expand to, multiply by some number of pixels, to get a very rough estimate of how big the popup might have to be, then set the value on the dashboard object. This would all have to happen before the triggering component is clicked though. It feels pretty overkill, for something like that.