Announcement

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

    Horizontally scrolling tree

    Hi,

    I have a TreeGrid embedded into a SectionStack to get a nice header for the tree. The TreeGrid has only one column/field and is setup as

    Code:
    ...
            setWidth100();
            setFixedFieldWidths(false);
    ...
    From scrolling point of view this tree works perfectly when run with smartgwt 3.0 or 3.1. Vertical and horizontal scrollbars appear when needed and especially when tree folders are opened up the grid expands horizontally and allows scrolling to reveal the content which does not fit to the view.

    We upgraded to 4.0p and behaviour changed. Now the tree never grows horizontally and the content in the cell is truncated by appending "..." to the end of the content. Basically we don't get the horizontal scroll bar anymore which we prefer. Vertically the scrolling works the same way as in v3.x. Question: How should the treegrid be set up to overflow and allow for horizontal scrolling when the cell content does not fit to the cell anymore ? We tried fiddling with setOverflow, setBodyOverflow, AutoFit et all with no luck.

    Using Smartgwt LGPL 4.0p.

    br,
    Marko
    Last edited by markok; 22 Oct 2013, 10:11.

    #2
    Anyone ? I'm really struggling to get this to work which is weird as I'm guessing this is probably the most common layout configuration for freely manipulated trees.

    Comment


      #3
      See http://forums.smartclient.com/showthread.php?t=28335

      Comment

      Working...
      X