This is a migrated thread and some comments may be shown as answers.

Set column width via HTML

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 25 Jul 2013, 09:06 PM
I'm looking to set column widths via HTML, either by setting the style attribute or using data-width (or something similar). I wasn't able to find anything in the documentation about defining column widths via HTML.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Jul 2013, 09:20 AM
Hello Nick,

If you create the Grid from a <table>, the column widths can be defined via <col> elements. We have updated the demo and documentation:

http://demos.kendoui.com/web/grid/from-table.html

http://docs.kendoui.com/getting-started/web/grid/walkthrough#grid-creation-from-an-html-table

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Nick
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or