Hi,
I implemented an edit image icon on Edit button of Jqwidget Grid.Here is my code..
` var imagerendererEditForItemDetails = function() {
return ‘<img src=”/resources/myimages/edit.png” />’;
};`
For Grid Edit coloumn…
` { text: ‘Action’, columntype: ‘number’, datafield: ‘edit’, width: “5%”,
cellsrenderer:imagerendererEditForItemDetails, filterable:false,sortable:false}`
For on click event handler..
editMethod=function(){
alert("event worked");
};
This code is worked fine for me,In the case of web browser.
The problem is if I open the same web page in a android browser it does not trigger the on click event..
If i use button instad of image src it has no problem..
I have also followed this link,that says grid editing on a mobile device :-
http://www.jqwidgets.com/jquery-widgets-demo/mobiledemos/jqxgrid/index.htm?%28android%29#demos/jqxgrid/editing.htm
But does not work for me…
How can i trigger onclink event for both a pc browser and mobile browser using an image button through cellsrenderer?
Thanks..