PDA

View Full Version : autoscroll in DominoUI - uiOutline



jaewing
21 Aug 2007, 3:03 PM
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.




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


}

jaewing
21 Aug 2007, 3:41 PM
I was able to get a scrollbar (although) it looks awful from referencing this post >http://extjs.com/forum/showthread.php?t=9721&highlight=scrollbar.

So I added:




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.

jaewing
22 Aug 2007, 4:16 AM
This scrollbar mentioned above, disappears at random, and wont work for any functioning application.:(

Anyone have a better idea?

jratcliff
22 Aug 2007, 8:15 AM
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?

jaewing
22 Aug 2007, 11:56 AM
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".

jaewing
22 Aug 2007, 11:58 AM
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.

jratcliff
22 Aug 2007, 6:48 PM
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

jratcliff
23 Aug 2007, 8:03 AM
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.

yanidp
15 Oct 2007, 6:15 PM
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