Announcement

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

    How to change the content of sectionStackSection?

    Hi all!

    I just started to use this great library (SmartGWT), and would like to thank the devellopers who brought it out.

    In my project, i need to represent a kind of titled panel, where depending on the selection on the navigation (left side) the content changes on the right side. To realize it, I decided to use a SectionStack with exactly one section in it. This section should always be extended, and may not collapse.

    I ran into problems when implementing it:

    - I don't find how to disable the finger cursor on the section's header.
    - the section's content doen't change when i set another Canvas on it programmatically (This occur after the section has been added to the sectionstack).

    Any help is welcome.
    kind regards
    Rodrigue

    #2
    Resolution

    Use a StackSection with one SectionStackSection and set the SectionStackSection.canCollapse to false.

    Code:
    this.setCanCollapse(false);

    Comment


      #3
      I believe that's what he's already doing. One of his problems is that he cannot change the cursor from finger to arrow when it is above the SectionStack's header. This doesn't make sense since nothing will happen when clicking on it.

      SmartGWT's Grid Top Header showcase demonstrates this problem.

      Any hints on how to solve this problem? I was unable to find a way.

      Comment

      Working...
      X