dash-ui icon indicating copy to clipboard operation
dash-ui copied to clipboard

add section to section in controlpanel

Open sylvoslee opened this issue 6 years ago • 3 comments

In controlpanel,can I add section to section as the second layer?

sylvoslee avatar Sep 06 '18 06:09 sylvoslee

Currently no. You can just add a bunch of components to sections that are themselves html.Details and html.Summary pairs, as this is how the original sections are made. https://github.com/rmarren1/dash-ui/blob/f593fa6cfd58d9ac93f97a81bf5927aeafa2cb11/dash_ui/controlpanel.py#L31-L39

rmarren1 avatar Sep 06 '18 14:09 rmarren1

Hi Ryan,

LOVE what you have done here - but...

controlpanel = dui.ControlPanel(_id="controlpanel") controlpanel.create_section( section="StateSection", section_title="State Selection Section" )

returns

Traceback (most recent call last): File "/Users/ianburns/Documents/Code-Dev/PycharmProjects/logging_test/test_grid.py", line 31, in controlpanel.create_section( AttributeError: 'ControlPanel' object has no attribute 'create_section'

do I have wrong version from Pypi?

freshwuzhere avatar Oct 02 '18 06:10 freshwuzhere

I left it as a release candidate dash-ui==0.5.0rc1

rmarren1 avatar Oct 02 '18 13:10 rmarren1