How to unselect the grid record in kendoui

前端 未结 2 909
渐次进展
渐次进展 2021-02-18 18:47

I am selecting the listview record on databound event. I have written the following code in databound

       var grid = $(\"#grid\").data(\"kendoGrid\");
                


        
相关标签:
2条回答
  • 2021-02-18 19:09

    kendo grid has a property called selectable:true..this would select the entire row when clicked upon and to de-select the row simply press ctrl+the row which is selected..

    0 讨论(0)
  • 2021-02-18 19:13

    Use clearSelection:

    var grid = $("#grid").data("kendoGrid");
    grid.clearSelection();
    
    0 讨论(0)
提交回复
热议问题