2 Replies Latest reply on Mar 22, 2012 5:15 AM by RaRaton

    Clipping list problem

    RaRaton

      Hi!

      I want my list control has its content height as I don't want scroll bars. For the scrolling purpose I have my own scroller in parent container.

      Now, The problem is when list control exceeds the maxHeight 10000, then it will start clipping remaining data. I think the solution is increase the maxheight.

      So, Please help me if you know how I can set maxheight more than 10000.

      For Example..

          </s:Scroller width="100%" height="100%">
           
      </s:VGroup>
             
      <s:List id="myList" dataProvider="arrData" useVirtualLayout="false"
               verticalScrollPolicy="off" horizontalScrollPolicy="off"
      />                             
           
      </s:VGroup>
         
      </s:Scroller>

      In this case assume that I have arrData.length = 9999999, and for that mylist's height will become 10000+ (Lets assume 15000). now mylist will clipped after 10000px height or list's vertical scrollbar will visible and as I adready have scroller of my own It will have two scrollbars at that particular time.

       

      Any idea??

      Thanks!