I came here trying to configure the grid width to auto, so it is only as wide as its content.
Being a standard HTML table, you can set .k-grid > table to auto via CSS. The only problem with this approach is that the wrapper div (with its border) stays at 100% width.
The only way I found to accomplish the goal was using a float on the wrapper div.
<divid="grid"style="float: left"></div>
0
Dimo
Telerik team
answered on 30 Aug 2013, 10:40 AM
Hello Zachary,
Depending on the exact elements surrounding the Grid, you can alternatively use an inline-block display for its outer <div>.
Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!