I want to auto size the every column by its content text automatically.because when the radtreelistview have a long content the column take all time this size even if Iloaded withother data.
i tryed to put=
column.Width = GridViewLength.SizeToCells;
but it dosen't work.
2 Answers, 1 is accepted
0
Yoan
Telerik team
answered on 28 Aug 2012, 01:41 PM
Hello Fatima,
In order to auto size the TreeListView's columns you can set it's property ColumnWidth="Auto". Please see the code below: