Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
更改日志说该错误已得到修复,但我仍然无法在 jQuery Easy UI Datagrid 行对象上触发“onUnselect”事件,也无法在“onSelect”上触发。
我正在使用版本 1.3.1
你可以试试,(它应该工作),如果没有,发布你的编码。
$('#dg').datagrid({ onSelect: function(rowIndex, rowData) { //your stuff }, onUnselect: function(rowIndex, rowData){ //your stuff }, onUnselectAll: function(rows){ //your stuff } });
确保 datagrid 属性 singleSelect="true"。