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
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
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>