Forum
I need to change a grid so that a user can do a single touch on a mobile device to open the item. The website is using a very old version of jqgrid (3.6 beta2) so I would expect updating to the newest version would give me a lot of issue. What would be the best approach? It also needs to know the permission of the user (i.e. admin, attendee), but i think i can handle that. The website is using MVC 2.0 if that matters.
Thanks a lot!
10:53
Moderators
30/10/2007
Hello,
You can use onSelectRow event for this purpose - if I understand right.
Regards
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.
tony said:
Hello,
You can use onSelectRow event for this purpose - if I understand right.
Regards
Thank you so much it worked.
For anyone else having the same issue here is my function:
if($.isFunction(this.p.onSelectRow)){
$(this).click(function(e){
console.log("single click");
});
}
I put it right under the ondelClickRow version. I also had to add a empty function where its set to null on top for some odd reason. Here is so extra resources http://www.trirand.com/jqgridw.....iki:events
Most Users Ever Online: 715
Currently Online:
44 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66