Is there a way to know if a row inside the jqgrid is in edit mode?
Thank's In Advance.
If you speak about rows in inline editing mode than you can vertify whether row (<tr>
element) has attribute editable="1"
. The attribute will be set ba jqGrid for all rows which are in the editing mode. So the code could be
if ($("tr#"+rowid).attr("editable") === "1") {
// the row having id=rowid is in editing mode
}
or
$($("#list").jqGrid("getInd",rowid,true)).attr("editable") === "1") {
// the row having id=rowid is in editing mode
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With