jQWidgets Forums

jQuery UI Widgets Forums Layouts Splitter Setting panel size value to auto?

This topic contains 2 replies, has 2 voices, and was last updated by  lineker 9 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Setting panel size value to auto? #78624

    lineker
    Participant

    Hi All,

    I am using 2 horizontal (3 panels) splitter.
    panel size value is 300 for each splitter as follow:

    $('#firstNested').jqxSplitter({ width: '100%', orientation: 'horizontal', panels: [{ size: '300', collapsible: false}] });

    Is it possible to make size value auto? Because my each panel includes jqxdropdownbutton including jqxgrid. Height of jqxdropdownbutton is 25 px, when I open dropdownbutton, grid is displayed and becaomes 300 px. But when jqxdropsownbutton is closed 300-25 = 275 pixel becomes empty which is bad display.

    I tried following (change 300 to auto) but it did not work:

    $('#firstNested').jqxSplitter({ width: '100%', orientation: 'horizontal', panels: [{ size: 'auto', collapsible: false}] });

    Setting panel size value to auto? #78703

    Hristo
    Participant

    Hello lineker,

    Could you provide us one example (in jseditor/fiddle) that demonstrate this issue.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Setting panel size value to auto? #78705

    lineker
    Participant

    Hi All,

    I found what I need: jqxNavigationBar. It behaves like accordion which is the property I need 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.