Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support
Resources
Design and Productivity Tools
Hi
I have tried without succes to define column witdth in % ? Could you help me ?
Regards
<kendo-grid-column field="date" title="{{'page.column.date' | translate | titlecase}}" [width]="25%"></kendo-grid-column>
Hello Ixen,
The width property of the ColumnComponent only accepts a number which is considered in pixels. To add the width in percent, use the style and the headerStyle property as seen below:
<kendo-grid> <kendo-grid-column field="ProductID" [style]="{'width': '25%'}" [headerStyle]="{'width': '25%'}" > </kendo-grid-column> </kendo-grid>
In this StackBlitz example, I have assigned the width of the column in percentage.
I hope this helps. Let me know if you have any further questions.
Regards, Hetali Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.