Announcement

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

    sectionStackSection Expand Colapse behavior

    Hi Guyz!

    I want to know how to check if the current state of the sectionStackSection is expanded or collapsed?

    #2
    stackSection.getAttributeAsBoolean("expanded");

    Comment


      #3
      Thanks Kiril for your response, actually I tried that code but it gives the behavior of sectionStackSection if it can be expanded or not.

      What I want is to read the current state of the SectionStackSection if it's expanded now or not, I hope that you got what I want.

      Comment


        #4
        Any Suggestions?????????

        Comment


          #5
          Any help here is appreciated :)

          Comment


            #6
            Each SectionStackSection has a a collection of items, you can get them by getItems.
            It seems that all these Canvases are hidden when you click and the section collapse.
            By using the console I saw by Eval isc_SectionStack_O.members that you have in this array the header and the different HTMLFlow of the section.
            So I think by reading the "visibility" attribute of the second member of the array you get the status you want.
            I checked that with the Console:
            Eval: isc_SectionStack_0.members[1]
            and look at the visibility attributre when you collapse or not

            Hope it can help

            Alain

            Comment

            Working...
            X