Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Virtual Scrolling: Page/View display issue
21/06/2010
23:42
Avatar
jhsu
Member
Members
Forum Posts: 23
Member Since:
05/11/2009
sp_UserOfflineSmall Offline

Hi Tony,

This issue is for the Virtual Scrolling feature. I'm not exactly sure if this a bug or not, but I find that when the grid's "page" option is set to a value of more than 1, the row area of the grid does not show data or it's show partially when the page containing the grid reloads. This issue can be recreated in the demo by scrolling the grid to a random page, selecting another feature from the left menu area and then come back to the Virtual scrolling tab. This effectively reloads the demo screen for the virtual scrolling.

This issue appears to affect all browsers. Here's my code, and thank you for your help.

searchGrid.jqGrid({

url: URL,

postData: getSearchParams(),

datatype: "json",

colNames: ['Person Name', 'E-mail', 'Phone Ext'],

colModel: [

{ name: 'DisplayName', index: 'DisplayName', width: 400 },

{ name: 'Email', index: 'Email', width: 200 },

{ name: 'PhoneExt', index: 'PhoneExt', width: 100 }

],

width: 738,

height: 255,

sortname: 'DisplayName',

sortorder: 'asc',

page: getPageNumber() || 1,

rowNum: getRowNum() || 10,

rowList: [], //[10, 20, 30],

pager: '#searchGridPager',

viewrecords: true,

sortable: true,

scroll: 1,

rownumbers: true,

rownumWidth: 50,

gridview: true,

scrollrows: true,

onSelectRow: function(rowid) {

},

loadBeforeSend: function() {

}

});

Jack

25/06/2010
09:48
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello Jack,

Thank you. I have try to do what you describe, but it seems that I can not reproduce this.

Could you please descripbe this in more detail using the demo here:

http://trirand.com/blog/jqgrid.....qgrid.html

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

26/06/2010
23:07
Avatar
jhsu
Member
Members
Forum Posts: 23
Member Since:
05/11/2009
sp_UserOfflineSmall Offline

Hi Tony,

Thanks for your reply.

The scrolling and row display issues occur on IE8, Safari, and Chrome. On Firefox, the virtual scrolling works beautifully without issues, and it even works on IE6 and IE7.

This issue can be recreated from the demo site by the following steps, running on IE8, Safari or Chrome.

1. Under the menu, select "Virtual Scrolling" from the "New in version 3.7″ group.

2. Once the grid is loaded, scroll down to a page in the middle of the scrolling bar, and wait for the grid to complete loading.

3. Navigate away from the virtual scrolling page by clicking on the "jqGrid 3.7″ tab.

4. Navigate back to the Virtual Scrolling page, and the grid will display row and scrolling issues. 

Thanks again for your help

Jack

30/06/2010
15:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Thanks. It is true. Not sure, but maybe it is connected with the demo application. Will check which is the reason for this.

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

08/07/2010
16:01
Avatar
jhsu
Member
Members
Forum Posts: 23
Member Since:
05/11/2009
sp_UserOfflineSmall Offline

Thanks for looking into this Tony. Any resolution for this issue yet?

This issue can also be reproduced if the page property is set to something more than 1, say 10. Again, this issue only affects IE8, chrome and safari.

Thanks so much Tony.

Jack

19/07/2010
15:04
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Curretly no solution. The same effect in IE can be seen if you scroll some rows and then click on header button to hide the grid. After that try to show it. Seems to be a problem with show/hide in IE.

A little info I have found here:

http://www.kevinleary.net/jque.....-explorer/

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information