1. #1
    Ext User
    Join Date
    Jul 2007
    Posts
    13
    Vote Rating
    0
    jaewing is on a distinguished road

      0  

    Question autoscroll in DominoUI - uiOutline

    autoscroll in DominoUI - uiOutline


    I can't seem to get a scrollbar in the uioutline "west" panel. The scrollbar does work in the "center" panel.

    The property for "autoscroll" is set to "true" everywhere for the west panel (dominoUI.js, dominoiUI-min.js). I even added it (see below) and I still cant get a scrollbar. Is there something somewhere causing it to be turned off that I dont know about? Is it hidden?
    I have been reading through the documentation on the borderlayout, contentpanel, etc...and I cant find any other property that sets this. Ive run through the posts, but it seems that this is all I needed to get a scrollbar from what I read.

    Code:
     
    var DemoApp = function() {
     return {
     init : function(){
     this.ui = new Ext.nd.DominoUI({
     uiOutline : {outlineName: "webMain"},
     uiView : {viewName: "", viewTitle: ""},
        
           west: {
                             split: true,
                             initialSize: 220,
                             minSize: 175,
                             maxSize: 400,
                             titlebar: true,
                             collapsible: true,
                             animate: true,
                             autoScroll: true,
                             fitToFrame: true
                                
                 
                         }

  2. #2
    Ext User
    Join Date
    Jul 2007
    Posts
    13
    Vote Rating
    0
    jaewing is on a distinguished road

      0  

    Default


    I was able to get a scrollbar (although) it looks awful from referencing this post >http://extjs.com/forum/showthread.ph...ight=scrollbar.

    So I added:

    Code:
     
     var DemoApp = function() {
     return {
         init : function(){
         this.ui = new Ext.nd.DominoUI({
         uiOutline : {outlineName: "webMain"},
         uiView : {viewName: "", viewTitle: ""},
             
        
       }); 
       
     var list = this.ui.layout.getRegion("west");
     var westPanel = list.getPanel('extnd-outline');
     westPanel.getEl().setStyle("overflow-y", "auto");
     westPanel.refresh();
     
      } // init
     } // return
    }();
    Ext.onReady(DemoApp.init, DemoApp, true);
    If anyone knows how to get a scrollbar that looks better, please let me know. Im interested to know why "autoscroll" didnt work.

  3. #3
    Ext User
    Join Date
    Jul 2007
    Posts
    13
    Vote Rating
    0
    jaewing is on a distinguished road

      0  

    Default Shoot!

    Shoot!


    This scrollbar mentioned above, disappears at random, and wont work for any functioning application.

    Anyone have a better idea?

  4. #4
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,108
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    Quote Originally Posted by jaewing View Post
    I can't seem to get a scrollbar in the uioutline "west" panel. The scrollbar does work in the "center" panel.
    Hmm... this should work. Do you see a scroll bar in the online demo (after you expand all nodes)?

    http://openntf.org/extnd/demo.nsf/main.html

    What browser/version are you using?
    Last edited by jratcliff; 22 Aug 2007 at 6:47 PM. Reason: posted the wrong link

  5. #5
    Ext User
    Join Date
    Jul 2007
    Posts
    13
    Vote Rating
    0
    jaewing is on a distinguished road

      0  

    Default


    IE7

    When I activate the link you provided, there is absolutely nothing in the west panel, except for the title and the collapsible option. Nothing to expand.

    There are scrollbars in the "center" panel.

    **********
    I was able to get a scrollbar using the workaround mentioned earlier and I figured out why it would disappear, overlapping text width of the region would cause the scrollbar to disappear. Again, its very "ugly".

  6. #6
    Ext User
    Join Date
    Jul 2007
    Posts
    13
    Vote Rating
    0
    jaewing is on a distinguished road

      0  

    Default


    I spoke too quickly, it did finally load a "tree", wow did that take long.
    If I expand everything so that it overflows, I do "NOT" get a scrollbar.

  7. #7
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,108
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    Quote Originally Posted by jaewing View Post
    I spoke too quickly, it did finally load a "tree", wow did that take long.
    If I expand everything so that it overflows, I do "NOT" get a scrollbar.
    Sorry, I posted the wrong link. That was a link to a dev server, and yes, it is slow. Here's a link to the demo we have hosted on openNTF.org

    http://openntf.org/extnd/demo.nsf/main.html

  8. #8
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,108
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    I see the issue now. Happens in IE 6 as well. Rich and I will take a look and hopefully have a fix real soon for this.

  9. #9
    Sencha User
    Join Date
    May 2007
    Posts
    6
    Vote Rating
    0
    yanidp is on a distinguished road

      0  

    Question uioutline autoscroll problem

    uioutline autoscroll problem


    Quote Originally Posted by jratcliff View Post
    I see the issue now. Happens in IE 6 as well. Rich and I will take a look and hopefully have a fix real soon for this.
    jractcliff, do you already have the fix pack??

    Thanks before

Thread Participants: 2