jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Using taphold on jqxGrid? Using taphold on jqxGrid? #75950

    KevinS
    Participant

    The taphold seems to not want to work on the iPhone…all it wants to do is select the row in the table to copy it! 🙁

    in reply to: Using taphold on jqxGrid? Using taphold on jqxGrid? #75941

    KevinS
    Participant

    The first option works…mostly! When I try to do a taphold on my iPhone it just wants to select the row and allow me to copy it!

    HOWEVER, if I click and hold on a desktop browser (which is basically what the taphold is doing in the background anyway) I can navigate to my page.

    I did this.

    $(“#jqxGrid”).jqxTouch();
    $(“#jqxGrid”).on(‘taphold’, function (event) {
    var selectedIndex = $(“#jqxGrid”).jqxGrid(‘getselectedrowindex’);
    var data = $(“#jqxGrid”).jqxGrid(‘getrowdata’, selectedIndex);
    navigate(“newPage?Id=” + data.Id);
    });

    The row is selected before the taphold event fires (on the PC) On the iPhone, it seems I have to select the line first. well, more playing around needs to be done! Thanks for the help Vladimir!

    in reply to: Using taphold on jqxGrid? Using taphold on jqxGrid? #75939

    KevinS
    Participant

    Thanks! I’d imagine I can get at least one of those to work! I thought about binding to the touch control, but I wasn’t sure what would happen if I did that. Was afraid that my grid might start murdering kittens or somehow start the zombie apocalypse!

    Thanks again,
    Kevin

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