5 Answers, 1 is accepted
0
Hello Sergey,
The NestedViewTemplate does not have any preset height, so by default its height depends on its content. The same is observed in the following demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx
Greetings,
Dimo
the Telerik team
The NestedViewTemplate does not have any preset height, so by default its height depends on its content. The same is observed in the following demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx
Greetings,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Batoha
Top achievements
Rank 1
answered on 10 Aug 2010, 03:26 PM
Hello, Dimo.
In your example all nested items have the same height for all rows.
Do you have any example where nested items have different heights for different rows?
With respect, Sergey.
In your example all nested items have the same height for all rows.
Do you have any example where nested items have different heights for different rows?
With respect, Sergey.
0
Hello Sergey,
I am afraid I do not understand what the problem is - as I said, the NestedViewTemplate should expand as much as its content. We don't have a demo with different heights of the NestedViewTemplate, but if you do, it should work as expected. Can you demonstrate a different behavior?
All the best,
Dimo
the Telerik team
I am afraid I do not understand what the problem is - as I said, the NestedViewTemplate should expand as much as its content. We don't have a demo with different heights of the NestedViewTemplate, but if you do, it should work as expected. Can you demonstrate a different behavior?
All the best,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Batoha
Top achievements
Rank 1
answered on 10 Aug 2010, 06:50 PM
Hello again.
The problem is that at the moment of posting my question I was trying to use nestedview template to show some data for the grid row. And I faced the issue when template height was the same (in my case 326px or something like that) for each row and I could not make it less than that. It could only be minimized if I haven't put there any control. But I'm pretty sure I didn't set height of any control that I put inside template. After struggling with this thing I decided to change my approach and refused from using nested view at all.
So, unfortunately, at the moment I don't even have an example to show to you.
With respect, Sergey.
The problem is that at the moment of posting my question I was trying to use nestedview template to show some data for the grid row. And I faced the issue when template height was the same (in my case 326px or something like that) for each row and I could not make it less than that. It could only be minimized if I haven't put there any control. But I'm pretty sure I didn't set height of any control that I put inside template. After struggling with this thing I decided to change my approach and refused from using nested view at all.
So, unfortunately, at the moment I don't even have an example to show to you.
With respect, Sergey.
0
Hello Sergey,
Generally, if an HTML element is higher than expected, the first thing to do is inspect its contents with Firebug in order to determine what causes the unexpected layout. Sometimes forgotten / inherited CSS styles may interfere with a page layout.
All the best,
Dimo
the Telerik team
Generally, if an HTML element is higher than expected, the first thing to do is inspect its contents with Firebug in order to determine what causes the unexpected layout. Sometimes forgotten / inherited CSS styles may interfere with a page layout.
All the best,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items