8 Answers, 1 is accepted
Hello Shahid,
We are not sure what you've tried. Please provide us with a dojo example which illustrates the problem you have with indenting TreeList column.
Regards,
Nikolay Rusev
Telerik

http://dojo.telerik.com/ogIkU
in the above example the first column of treelist is not warping with indentation

Hello Shahid,
You can use columns.attributes to style any column cell. However this attribute will be applied for the column cell in all rows. That said if you need to style specific cell you should handle dataBound event, find the cell in question and apply desired styles.
Regards,
Nikolay Rusev
Telerik

"in the above example the first column of treelist is not warping with indentation"
how i can wrap first column with indentation of text "Our Company has a well defined culture that encourages high involvement and high performance" Under "Role" Category?
Hello Shahid,
I see what you mean. This is a bit tricky for the expander column. I've updated the example to demonstrate how to achieve this.
The important bits are:
- the additional CSS rules
- template for the column
- JavaScript function to adjust the width of the wrapper element in the column template. The code must b executed in both dataBound and columnResize events.
The example - http://dojo.telerik.com/@rusev/ePUBI
Regards,Nikolay Rusev
Telerik

Please add one more CSS rule:
.k-treelist td:first-child {
overflow
:
visible
;
}
Regards,
Dimo
Telerik