简体   繁体   English

剑道网格选择整行

[英]Kendo grid selection entire row

I want kendoGrid to select the entire row . 我希望kendoGrid 选择整个行

I have to have this set: scrollable: { virtual: true } 我必须进行以下设置: scrollable: { virtual: true }
and without paging data 并且没有分页数据

Sample: Kendo UI Dojo 示例: Kendo UI Dojo

Just click on Brazil to select the row but it just selects the cell. 只需单击“ 巴西”以选择该行,但它只是选择该单元格。

Use selectable: "row" instead to make whole row selectable. 请使用selectable: "row"来使整行变为可选。 Check the demo 检查演示

According to Kendo's documentation: 根据Kendo的文档:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-selectable http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-selectable

set selectable: "row" in your grid settings 在网格设置中设置selectable: "row"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM