This commit is contained in:
thinkgem
2023-03-16 20:19:22 +08:00
parent 0352fff7e6
commit 6beec711b6

View File

@@ -429,7 +429,7 @@ $("#testDataChildDataGrid").dataGrid({
}
],
onSelectRow: function(id, stat, e) {
if (id && !$(e.target).hasClass('btn')){
if (id && e && !$(e.target).hasClass('btn')){
$('#testDataChildDataGrid').dataGrid('editRow', id,{keys:true,focusField:true});
}
},