3 Answers, 1 is accepted
Hello Gerhard,
This is done by double clicking the borders between the column headers of a resizable grid. So, you also need to set the Resizable parameter of the grid to true. You can read more about the feature in the documentation: https://docs.telerik.com/blazor-ui/components/grid/columns/resize.
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Thank you Marin.
I misunderstood what this feature does. I was hoping that it could be automatic, i.e once the data has been loaded, the columns would auto-size to fit the data width and perhaps with min/max boundaries defined.
Hi Gerhard,
There are many reasons why that isn't implemented and one of the major ones is that rendering and data retrieval are decoupled, so firing up such functionality on load will cause flicker and will be a serious performance hit.
Nevertheless, you can Follow such a feature here: https://feedback.telerik.com/blazor/1513385-autofit-column-widths-on-data-load. I've also added your Vote for it.
Regards,
Marin Bratanov
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.