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.
我有一个网格,网格中的每个项目都有复选框。我需要删除网格中的多个选中项。我怎么能在剑道ui中做到这一点。
问候,
斯里兰卡
单击按钮时,使用 jQuery 查找所有包含选中复选框的 TR 元素,然后使用removeRow方法。就像是:
$.each($('#GridName :checkbox:checked').closest('tr'),function(){ $('#GridName').data().kendoGrid.removeRow($(this)); })