i whant to check if the row is in edit mode.
i've checked the jqGrid documentation but i couldn't find this.
thanks in advance
views:
59answers:
1
+1
A:
The following code will check this for you:
var edited = "0";
var ind = jQuery("#myGrid").getInd(row_id,true);
if(ind != false){
edited = $(ind).attr("editable");
}
if (edited === "1"){
// row is being edited
} else{
// row is not being edited
}
Justin Ethier
2010-01-28 20:54:01
"events" is a grids id right?
CoffeeCode
2010-01-28 21:10:37
Yeah, I just updated my answer to clarify.
Justin Ethier
2010-01-28 21:44:05