jQWidgets Forums

jQuery UI Widgets Forums Grid jqxGrid scroll errors

This topic contains 8 replies, has 2 voices, and was last updated by  admin 4 years, 10 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • jqxGrid scroll errors #112627

    pedro10
    Participant

    A number of my app users have contacted me about errors showing up when scrolling using jqxGrid from both Android and Apple devices.
    I made a simple test app using a button and a jqxGrid to show the error. If i put my finger on the vertical scrollbar then slide it down, then release finger, then drag it back up the page, i get this error almost every time:

    jqxscrollbar.js
    Uncaught TypeError: Cannot read property ‘originalEvent’ of undefined. line 8 column 7109
    Grabbing, sliding and releasing the scrollbars seems to cause it.

    I made a simple program to show this – contains a single button (Button1) and the jqxGrid (Grid1). I used this code:

    Button1.onclick = function() 
    {
         gedata = [];
         
         //get grid data
         for     (i = (0); i  <= 100; i ++) 
         {
              row = [];
              for     (j = (0); j  <= 10; j ++) 
              {
                   row["col" + j] = i;  
              } 
              gedata[i] = row;   
         } 
         
         //get data field array and columns to display
         datafieldsArray = [];
         columnsArray = [];
         gridcolsindex = 0;
         for     (k = (0); k  <= 10; k ++)
         {
                datafieldsArray[gridcolsindex] = {name: "col" + k , type: "text"};
                columnsArray[gridcolsindex] = {text: "Col" + k, datafield: "col" + k, cellsalign: 'center', align: 'center', width: "10%"};
                gridcolsindex = gridcolsindex + 1;   
         }   
         
         var source = 
         {
             localdata: gedata,
             datafields: datafieldsArray,
             datatype: "array"
         };
          
         var adapter = new $.jqx.dataAdapter(source);
         $("#Grid1").jqxGrid({
            //width: 800,
            theme: 'energyblue',
            //columnsheight: 25, 
            rowsheight: 30, 
            source: adapter,
            sortable: True,
            //selectionmode: 'singlecell',
            columns: columnsArray
         });
          
    }

    Really appreciate any help.
    Thanks

    jqxGrid scroll errors #112633

    admin
    Keymaster

    Hi pedro10,

    Which version of jQWidgets do you use?

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

    jqxGrid scroll errors #112639

    pedro10
    Participant

    Hi Peter,

    I initially tested using version 9.1.4 then tested with version 10.0.2, and i get the same error for both versions.
    It only happens when running it on an Android or Apple device.

    Thanks

    jqxGrid scroll errors #112641

    admin
    Keymaster

    Hi pedro10,

    Unfortunately, we are unable to reproduce this. We tested it with iphone x, iphone 11 pro, galaxy s10, galaxy note 10.

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

    jqxGrid scroll errors #112680

    pedro10
    Participant

    Hi Peter,

    The error is more noticeable when pressing/releasing/ shifting the vertical scrollbar. You may need to play with it a bit to show the error.
    I’ve kept trying on other devices and the error keeps showing.

    Thanks

    jqxGrid scroll errors #112686

    admin
    Keymaster

    Hi pedro10,

    Is this reproduceable in an app using only jQWidgets like some of our online examples? I am asking, because in a different post you write that you use NSBasic, too.

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

    jqxGrid scroll errors #112691

    pedro10
    Participant

    Hi Peter,

    This is reproduceable on all apps i’m creating using only jQWidgets. I’ve tried online examples and they work fine on jsfiddle and using Desktop Chrome, but always get errors when running on an Android device using Chrome or as an apk. I’m thinking it could be an NSBasic issue. I’ll double check with them again.

    Thanks

    jqxGrid scroll errors #112706

    pedro10
    Participant

    Hi Peter,

    Do you have a direct email? I’d like to send a URL to you if possible to show the error.

    Thanks

    jqxGrid scroll errors #112709

    admin
    Keymaster

    Hi pedro10,

    Yes, you can send the url to support@jqwidgets.com

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.