PDA

View Full Version : Grid: vertical scrollbar lost



phoenix06
26 Nov 2011, 8:26 AM
Hello,

I have a bug very strange. The more weird about it is that I cannot reproduce it everytime. I loose my vertical scrolle bar enabling me to see all the rows. It happens 1 time by 30 maybe, when i use order, filter, paging. I given 2 screenshots to really understand what happen.

I'm interested to know if anyone already had this problem, even if it's many month after I today?

You can see the lines don't move, but the scrollbar yes
2958929588

ps: I didn't change or have any css that can be in conflict

Thanks!

tobiu
26 Nov 2011, 8:40 AM
which version of ext js are you using?

in 4.1 (and the beta as well), there will be a lot of changes on the layout engine, so it makes sense to wait for that version and see, if the problem is already resolved there.

otherwise we do need a reproduceable testcase or the dev team has not a good chance to find the issue. tell me if you want to get this topic to the bugs section (need the version info!).

jsakalos
26 Nov 2011, 2:07 PM
Yes, AFAIK the native scrolling will be back in 4.1 so if you can wait, wait for that version.

phoenix06
27 Nov 2011, 11:57 PM
Hello,

Yes , I would like to put it in the bugs section, I'll try to give more information:
Version:
I succeded to reproduce the bug in the version 4.0.6 and 4.0.7

The bug:
It happen when we pass from a state to another in the grid:
* when we have more rows than the given pageSize
* to the state where we have less rows than the given pageSize
It happens indifferently when we use the order/filter/paging,
Indifferently when we stress the system or not

--> when we lost the scrollbar, we cannot have it again exept in refreshing the page


Thanks a lot, especially if somebody find an answer

phoenix06
27 Nov 2011, 11:59 PM
Yes, AFAIK the native scrolling will be back in 4.1 so if you can wait, wait for that version.

I'll have to get in production my project in few weeks, do you know, approximatively when this version will be released?

jsakalos
28 Nov 2011, 1:54 AM
Unfortunately, I cannot tell you an exact day of 4.1 release - you can contact developers if they can tell you more.

Anyway, I'm moving this thread to Bugs.

tobiu
28 Nov 2011, 3:30 AM
an override is provided in the open discussion forums:
http://www.sencha.com/forum/showthread.php?157818-Scroll-bars-missing-from-Grid-Panel&p=681020&viewfull=1#post681020

it would be nice, if you can test it to gather infos for the dev team.

gigofizz
15 Dec 2011, 12:56 PM
30069
I have a problemwith vertical scrollbar, shown outside the Tab Panel.

Please, Thank you for your help.


CODE:

Ext.onReady(function() {


Ext.create('Ext.window.Window', {
width: 500,
height: 300,
title: 'Servicio Tecnico',
maximizable: true,
bodyStyle: 'background:#FFF',
scroll:true,
autoScroll: true,
layout: 'anchor',
items: [{
xtype: 'tabpanel',
activeTab: 0,
items: [{
xtype: 'panel',
title: 'Tab 1',
items: [{
xtype: 'container',
height: 204,
items:[{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
}]
}]

},{
xtype: 'panel',
title: 'Tab 2'
}]
}]
}).show();
});

drogers
15 Dec 2011, 2:06 PM
I have a problemwith vertical scrollbar, shown outside the Tab Panel.

You don't have a bug in the Ext framework so this is not the right discussion forum. You should really ask your question in one of the following:

Ext 4.x Q and A:
http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A

Ext 4.x Discussion:
http://www.sencha.com/forum/forumdisplay.php?81-Ext-Discussion

That said your code should look something like:


Ext.onReady(function() {
Ext.create('Ext.window.Window', {
width: 500,
height: 300,
title: 'Servicio Tecnico',
maximizable: true,
bodyStyle: 'background:#FFF',
layout: 'fit',
items: [{
xtype: 'tabpanel',
activeTab: 0,
items: [{
xtype: 'panel',
title: 'Tab 1',
layout: 'anchor',
autoScroll: true,
bodyStyle: 'padding: 10px;',
items: [{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype:'datefield',
fieldLabel: 'Label',
anchor : '100%'
},{
xtype: 'datefield',
fieldLabel: 'Label',
anchor : '100%'
}]
},{
xtype: 'panel',
title: 'Tab 2'
}]
}]
}).show();
});

Ask any further layout questions on one of the forums listed above. Oh, and welcome to the discussion forums.

vinh2012
15 Dec 2011, 10:14 PM
Unfortunately, I cannot tell you an exact day of 4.1 release - you can contact developers if they can tell you more.

Anyway, I'm moving this thread to Bugs.

thank's you ! .

gigofizz
16 Dec 2011, 3:07 AM
thank's you ! . Ms. =)