Autosize on treelist with locked columns does not work
When the width of the grid exceeds the column lengths, you would expect autosize to expand and fill the rest of the space evenly.
https://stackblitz.com/edit/angular-7rxada-84kfzy?file=src/app/app.component.ts
Similar to https://github.com/telerik/kendo-angular/issues/3248
Hi Kevin,
Thanks for the provided information.
Before answering the main topic, I will shed some light on how the autoSize works:
As the TreeList and Grid components have similarities in how their width behave, the following article in our Documentation describes in great aspect how the Column Width of the TreeList and Grid work in different scenarios:
https://www.telerik.com/kendo-angular-ui/components/grid/columns/width/
As the locked columns require the width of each column to be set explicitly, this behaviour is expected. In order for the columns to be spread across the whole Grid / TreeList while using locked columns, some CSS tweaks need to be made.
I've created a short StackBlitz demo that demonstrates the CSS tweaks:
https://stackblitz.com/edit/angular-9lgm9k-qk5plb?file=src%2Fapp%2Fapp.component.ts
I hope this information helps.
Regards,
Miroslav
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.