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

[Solved] Grid Hirarchy including Rows without details

2 Answers 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 17 Feb 2015, 09:18 AM
Hi

I took your example and have a question about it.

http://dojo.telerik.com/okESe/2

In the detailInit I do not want to show details for "Nancy" from "Seattle" hence that row should also not have a "dropdown icon".

I tried by just not returning anything in the detailInit function for Nancy, that does indeed show no data below her but the icon is still there.

How can I hide the dropdown icon for rows which do not have data below them?

Many thanks

2 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 19 Feb 2015, 08:01 AM

Hello Markus,

You could do this in the dataBound event of the master Grid and remove the expand arrows for rows without details. Here is the modified example.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Markus
Top achievements
Rank 1
answered on 19 Feb 2015, 09:43 AM
Super thanks
Tags
Grid
Asked by
Markus
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Markus
Top achievements
Rank 1
Share this question
or