I am selecting the listview record on databound event. I have written the following code in databound
var grid = $("#grid").data("kendoGrid");
grid.select(grid.tbody.find(">tr:first"));
Now i want to deselect the grid dynamically. How can I do that?
Use clearSelection
:
var grid = $("#grid").data("kendoGrid");
grid.clearSelection();
kendo grid有一个名为selectable:true
的属性selectable:true
..这会在单击时选择整行,取消选择行只需按ctrl +选中的行。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.