0
我正在嘗試獲取最近更新的單元格的rowIndex。 你可以找到我下面的方法:屏蔽ui網格如何通過sui-updated-marker找到rowIndex
getCustomEditorValue: function (e) {
e.value = $("#qntyBox").val();
if (!isNaN(e.value)) {
console.log(e.target.contentTable.find('.sui-updated-marker').get(0).rowIndex);
}
}
,但它顯示我在控制檯輸出不確定。
但
console.log(e.target.contentTable.find('.sui-updated-marker'));
給我
Object { length: 0, prevObject: Object, context: undefined, selector: ".sui-updated-marker" }
任何幫助將是明顯的。謝謝。
非常感謝您的支持。 :) –