Jqxgrid Select the Last Inserted Row
Jump to navigation
Jump to search
Select always last insertet Last ROW
Function Button6_onclick() Rem Data Insert data={nummer: "132", _ beschreibung: "Gekochte Ente mit Portugal", _ price: 1.95, _ total: 3.85, _ eksi: "-", _ anz: "1", _ arti: "+" _ } value=$("#Grid1").jqxGrid("addrow",null,data) Rem Select Last insertet Row var rows = $("#Grid1").jqxGrid("getrows"); $("#Grid1").jqxGrid("selectrow",rows.length-1 ); $("#Grid1").jqxGrid("ensurerowvisible",rows.length-1); End Function