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
Scroll Bugs
28/06/2010
09:48
Avatar
zenixgrace
Jakarta
Member
Members
Forum Posts: 41
Member Since:
10/05/2010
sp_UserOfflineSmall Offline

Hii jqgrid developer team,

i have a grid that code like that :

jQuery('#tableGrid').jqGrid({
    scroll: 1,
       //url:'../admspanel/maingridrptcustcomplain.php',
    datatype: "xml",
    height: 470,
    width:680,
    mtype:"POST",
       colNames:['Code','Date','Username','Customer Name','Contact Person','Menu','Description'],
       colModel:[
           {name:'code',index:'KdComplain',width:80,align:"left"},
           {name:'dateComp',index:'TglInput',width:80,align:"left",formatter:'date',formatoptions: {srcformat:'Y-m-d',newformat:'F d,Y'}},
        {name:'username',index:'Username',width:120,align:"left"},
           {name:'custName',index:'CustomerName',width:200,align:"left"},
        {name:'contact',index:'ContactPerson',width:150,align:"left"},
        {name:'menu',index:'Menu',width:180,align:"left"},
        {name:'desc',index:'Description',width:350,align:"left"},
       ],
       rowNum:100,
       //rowList:[10,20,30],
       pager: '#navGrid',
       sortname: 'KdComplain',
    shrinkToFit:false,
    viewrecords: true,
    sortorder: "asc",
    multiselect: false,
    reloadGrid:false,
    caption: "Report Customer Complaint",
});
jQuery('#tableGrid').jqGrid('navGrid','#navGrid',{add:false,edit:false,del:false,search:false,refresh:false});

function BuildSQL(DateFrom,DateTo,KdUser,User) {
    $('#tableGrid').jqGrid('setGridParam',{url:'../admspanel/maingridrptcustcomplain.php?e=1&f='+DateFrom+'&t='+DateTo+'&ku='+KdUser+'&u='+User}).trigger('reloadGrid');
}

when i call my function (buildsql)

the grid is show my data well.

it work fine

but when i scroll horizontal my grid, my grid expand a same data

examples : i have 4 rows when i scroll it the rows become 8 with the same data

is the grid have a bug?

or my code has wrong?

Best Regards,

zenixgrace

28/06/2010
11:46
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Which version is used?

Do you have row which height is diffrent from the others?

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.

28/06/2010
17:30
Avatar
jayarjo
Member
Members
Forum Posts: 17
Member Since:
20/10/2009
sp_UserOfflineSmall Offline

I get this bug too, although I think that I know what causes it - I've got grid inserted into resizable container and I resize the grid as the container resizes. I guess that's where load on scroll gets messed up. Actually I wonder if there is a way to reset scroll params after I do a grid resize?

29/06/2010
06:38
Avatar
zenixgrace
Jakarta
Member
Members
Forum Posts: 41
Member Since:
10/05/2010
sp_UserOfflineSmall Offline

Hello tony,

i'm used 3.6.5 version

yes i have row that have different height from the others..

i try to use same height for each row but the grid still expand same data..

i try to upgrade to 3.7.1 version but the the grid still expand a duplicate data..

when i clik row 5, the row highlight point to row 1

when i clik row 6, the row highlight point to row 2

and another else

seem like it's reload after i'm resize column or scroll horizontal..

is there the other way to manipulate it?

Best Regards,

zenixgrace

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

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

Hello,

Looking into your code there is a error here

       colModel:[
           {name:'code',index:'KdComplain',width:80,align:"left"},
           {name:'dateComp',index:'TglInput',width:80,align:"left",formatter:'date',formatoptions: {srcformat:'Y-m-d',newformat:'F d,Y'}},
        {name:'username',index:'Username',width:120,align:"left"},
           {name:'custName',index:'CustomerName',width:200,align:"left"},
        {name:'contact',index:'ContactPerson',width:150,align:"left"},
        {name:'menu',index:'Menu',width:180,align:"left"},
        {name:'desc',index:'Description',width:350,align:"left"}, <===Error
       ],

Instead, to resolve the problem, provide a link to the problem.

Thanks.

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.

01/07/2010
05:37
Avatar
zenixgrace
Jakarta
Member
Members
Forum Posts: 41
Member Since:
10/05/2010
sp_UserOfflineSmall Offline

hi tony,

thanks for ur explanation..

my code is in  here

u can see that bug after u scroll horizontal that grid..

the duplicate rows occur when u click open button for the first and scroll that grid to right

when u click open button for the second and scroll that grid, it work fine..

if that grid have a big data ..

it nothing happen (work fine)

it occur when data less then rownum

Best Regards,

zenixgrace

01/07/2010
05:59
Avatar
toolm
Member
Members
Forum Posts: 5
Member Since:
30/06/2010
sp_UserOfflineSmall Offline

Hi zenixgrace,

I have the same issue, and it will be related to the following forum.

/blog/?page_id=393/bugs/true-scrolling-bug-with-jqgrid-3-6-5/

Please check if it can help you.

Thanks.

02/07/2010
05:03
Avatar
zenixgrace
Jakarta
Member
Members
Forum Posts: 41
Member Since:
10/05/2010
sp_UserOfflineSmall Offline

@toolm,

thanks for ur recomendations toolm

i had fixed my problem now..

thanks alot toolm

thanks alot tony

best regards,

zenixgrace

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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