This is a migrated thread and some comments may be shown as answers.

Row template and Hierarchy

5 Answers 216 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 13 Dec 2011, 07:50 PM
I am trying to add some styling to the grid using row template.

The only one problem is that I cannot figure out how to describe "hierarchy functionalyty column" (little triangle) on the row template.

Any suggestions?

Thanks

5 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 14 Dec 2011, 03:04 PM
Hi Tomas,

I'm afraid that I'm not sure what you mean by "describe "hierarchy functionalyty column""? Do you mean what css selection to use to style the cell? If this is the case I suspect that using td.k-hierarchy-cell should be sufficient.

All the best,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Joel
Top achievements
Rank 1
answered on 06 Jan 2012, 11:13 PM
This is what I added to the template as the first td:
<td class="k-hierarchy-cell"><a class="k-icon k-plus" href=""></a></td>
0
Joel
Top achievements
Rank 1
answered on 07 Jan 2012, 09:34 PM
Doesn't seem like templates and enabling grouping work well with each other. If you would like a jsfiddle set up to see what I'm talking about, I'd be glad to do so.
0
Rosen
Telerik team
answered on 09 Jan 2012, 11:07 AM
Hi Joel,

In case of grouping and row template you will have to handle group cells in the template implementation.
For more details please check the following jsFiddle:

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Joel
Top achievements
Rank 1
answered on 09 Jan 2012, 04:37 PM
Awesome ... thanks for the quick feedback. Specifying this on the row template demo would be really helpful.
Tags
Grid
Asked by
Tomas
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Joel
Top achievements
Rank 1
Share this question
or