简体   繁体   English

如何根据Kendo ui Grid Angle 2中的内容设置列宽?

[英]How to set column width based on content in kendo ui grid angular 2?

Am using angualr 2 kengo ui grid components to display the table data. 我正在使用Angualr 2 Kengo ui网格组件来显示表数据。 We want to set the column width based on longest cell value for each columns. 我们要基于每个列的最长像元值设置列宽。 Is there any config property to set it our or any other solution?. 是否有任何配置属性可将其设置为我们的解决方案或其他解决方案?

Thanks for the support 感谢您的支持

将html width属性用于百分比宽度。

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

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