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
MCP Servers
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Applies the minimum possible width for the specified column so that all the text fits without wrapping.
The index of the column, the field to which the columns is bound, or the column object that is obtained from the columns collection.
field
columns
<div id="treeList"></div> <script> $("#treeList").kendoTreeList({ resizable: true, columns: [ { field: "Name" }, { field: "Position" } ], dataSource: [ { id: 1, Name: "Daryl Sweeney", Position: "CEO", parentId: null, expanded: true }, { id: 2, Name: "Guy Wooten", Position: "Chief Technical Officer", parentId: 1 } ] }); var treeList = $("#treeList").data("kendoTreeList"); treeList.autoFitColumn(1); </script>
<div id="treeList"></div> <script> $("#treeList").kendoTreeList({ resizable: true, columns: [ { field: "Name" }, { field: "Position" } ], dataSource: [ { id: 1, Name: "Daryl Sweeney", Position: "CEO", parentId: null, expanded: true }, { id: 2, Name: "Guy Wooten", Position: "Chief Technical Officer", parentId: 1 } ] }); var treeList = $("#treeList").data("kendoTreeList"); treeList.autoFitColumn("Position"); </script>
<div id="treeList"></div> <script> $("#treeList").kendoTreeList({ resizable: true, columns: [ { field: "Name" }, { field: "Position" } ], dataSource: [ { id: 1, Name: "Daryl Sweeney", Position: "CEO", parentId: null, expanded: true }, { id: 2, Name: "Guy Wooten", Position: "Chief Technical Officer", parentId: 1 } ] }); var treeList = $("#treeList").data("kendoTreeList"); treeList.autoFitColumn(treeList.columns[1]); </script>