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!