jQuery UI Widgets Forums Layouts Splitter Manual expansion doesn't expand grid

This topic contains 1 reply, has 1 voice, and was last updated by  swhiteside 3 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Manual expansion doesn't expand grid #86023

    swhiteside
    Participant

    Hi!
    I have a vertical splitter layout with a grid in in left and right panels.
    Both grids are set to 100% width and height, so they fill the panels.

    I want to expand the left or right panels based on a button click. I’ve used the following bit of code to expand the left panel:

      $("#topSplitter").jqxSplitter({
                    panels: [{size: "100%"}]
                });

    This expands the panel, but the grid does not grow to fill the panel.

    If I click on the splitter drag button to expand, then the right hand grid DOES grow to fill the panel.

    What should I do to make the grid grow to fill the panel after expanding?

    Manual expansion doesn't expand grid #86024

    swhiteside
    Participant

    I’ve fixed this – please don’t worry about answering.

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

You must be logged in to reply to this topic.