Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Collapse panel to the side

    I'm new to SmartGWT and have probably just overlooked this, but is there a way to make a stack section or panel collapse to the side (e.g., "<" button) instead of to the bottom? Thanks in advance.

    - Chris

    #2
    So I'll assume that this is not currently possible. Any chance it'll be added in the near future?

    Comment


      #3
      You can use setShowResizeBar on any layout and simulate the the left /right collapse fairly easily. Granted it is not as cool as the SectionStack, but you can get by easily with this.

      Check out http://www.smartclient.com/smartgwt/showcase/#layout_border

      Click on the resizebar next to the TreeGrid..

      Good luck

      Comment


        #4
        Strawman -

        Thanks for the reply. Yeah, that's the closes thing I've seen. Ideally, I'd like to see comparable to ExtJS/GWT's BorderLayout (http://www.sencha.com/examples/#borderlayout) wherein the east and west panels are collapsible to the sides. However, in the near term, I think your solution is a good one.

        BTW, the example you mentioned auto-collapses the section when the border is double-clicked, which is great. However, it won't re-expand after that. Do you have any idea if that's a glitch?

        Thanks again,

        Comment

        Working...
        X