jqgrid is row in edit mode

11,991

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
}
Share:
11,991
user590586
Author by

user590586

Updated on June 12, 2022

Comments

  • user590586
    user590586 almost 2 years

    Is there a way to know if a row inside the jqgrid is in edit mode?

    Thank's In Advance.