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_Related Related Topics sp_TopicIcon
Virtual Scrolling Issue/Bug
11/01/2011
01:34
Avatar
feto
Member
Members
Forum Posts: 8
Member Since:
15/12/2010
sp_UserOfflineSmall Offline

There seems to be an issue with jqGrid when utilizing the Virtual Scrolling feature. The issues is on initial load of the grid it only lets you scroll to the rowNum: 20 amount. But if you invoke/trigger an action on the grid like sort on column after that action you can then scroll the grid past rowNum: 20 you can scroll it any where in the result list of the grid.

Here are my two grids that I have configured, and am using the latest 3.8.1 version:

jQuery("#groupObjectItemsOutGrid").jqGrid({
                datatype: 'local',
                data: data3,
                height: 255,
                width: 350,
                colNames: ['Id', 'Name'],
                colModel: [{ name: 'Id', index: 'Id', align: 'center', width: 20, hidden: true, key: true },
                            { name: 'Name', index: 'Name', align: 'center', width: 40}],
                rowNum: 20,
                rowTotal: -1,
                scroll: 1,
                multiselect: true,
                rownumbers: true,
                rownumWidth: 20,
                gridview: true,
                sortname: 'Name',
                viewrecords: true,
                recordpos: 'center',
                sortorder: "asc",
                caption: 'Out',
                pager: '#groupObjectItemsOutPager'
        });
        jQuery("#groupObjectItemsOutGrid").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false });

jQuery("#groupObjectItemsInGrid").jqGrid({
                datatype: 'local',
                data: data4,
                height: 255,
                width: 350,
                colNames: ['Id', 'Name'],
                colModel: [{ name: 'Id', index: 'Id', align: 'center', width: 20, hidden: true, key: true },
                            { name: 'Name', index: 'Name', align: 'center', width: 40}],
                rowNum: 20,
                rowTotal: -1,
                scroll: 1,
                multiselect: true,
                rownumbers: true,
                rownumWidth: 20,
                gridview: true,
                sortname: 'Name',
                viewrecords: true,
                recordpos: 'center',
                sortorder: "asc",
                caption: 'In',
                pager: '#groupObjectItemsInPager'
        });
        jQuery("#groupObjectItemsInGrid").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false });

        jQuery("#groupObjectItemsOutGrid").jqGrid('gridDnD', { connectWith: '#groupObjectItemsInGrid', dropbyname: 'true' });
        jQuery("#groupObjectItemsInGrid").jqGrid('gridDnD', { connectWith: '#groupObjectItemsOutGrid', dropbyname: 'true' });

thx in advance

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
46 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