-
21 Aug 2007 3:03 PM #1
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 }
-
21 Aug 2007 3:41 PM #2
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:
If anyone knows how to get a scrollbar that looks better, please let me know. Im interested to know why "autoscroll" didnt work.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);
-
22 Aug 2007 4:16 AM #3
Shoot!
Shoot!
This scrollbar mentioned above, disappears at random, and wont work for any functioning application.

Anyone have a better idea?
-
22 Aug 2007 8:15 AM #4
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
-
22 Aug 2007 11:56 AM #5
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".
-
22 Aug 2007 11:58 AM #6
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.
-
22 Aug 2007 6:48 PM #7
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
-
23 Aug 2007 8:03 AM #8
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.
-
15 Oct 2007 6:15 PM #9


Reply With Quote