jQWidgets Forums

jQuery UI Widgets Forums Grid Grid touch scrolling problem

This topic contains 4 replies, has 2 voices, and was last updated by  Hristo 7 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Grid touch scrolling problem #97629

    Mehdi
    Participant

    Hi

    In touch device, when i’m scrolling a custom rendered column,it stop scrolling just on takinjg finger out of screen.
    But it works fine on other columns.
    Of course it works fine on windows even on touch mode, this happens just on touch devices.

    I produced a simple demo Here;

    Thanks

    Grid touch scrolling problem #97711

    Hristo
    Participant

    Hello Mehdi,

    I tested this demo below and it seems to work fine:
    https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/imagecolumn.htm?light

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Grid touch scrolling problem #97725

    Mehdi
    Participant

    Hi

    In my sample , there are two columns

    the first column is OK and works fine, just like your sample:
    {
    datafield: ‘firstname’,
    cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties) {
    return ‘<span style=”margin: 4px; float: ‘ + columnproperties.cellsalign +
    ‘; color: #0000ff;”>Column Without Touch Scroll Problem’ + value + ‘</span>’;
    }
    }
    but in this column :
    {
    datafield: ‘lastname’,
    cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties, bounddata) {
    var s = ‘<span style=”margin: 4px; background-color: greenyellow;float: ‘ +
    columnproperties.cellsalign +
    ‘; color: #0000ff;”>’;

    s += ‘<span style=”float: left”>’ + bounddata.productname + ‘</span>’; // problem is here
    s += ‘<span style=”float: left”> Column With Touch Scroll Problem </span>’;
    s += “</span>”;
    return s;
    }
    }

    when i use “bounddata”, it crash on scrolling, however if i replace bounddata.productname with value, its works fine too.

    Thanks for attention

    Grid touch scrolling problem #97726

    Mehdi
    Participant

    I mean put your finger on “Column With Touch Scroll Problem” and do scrolling.
    On another columns scroll works well

    Grid touch scrolling problem #97753

    Hristo
    Participant

    Hello Mehdi,

    Thank you for this feedback.
    I will create a work item for this case.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.