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

No vertical scroll bars in self-referencing radgrid

3 Answers 85 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Atul Katiyar
Top achievements
Rank 1
Atul Katiyar asked on 09 Jul 2009, 04:53 AM

Hi,

In a self-referencing radgridview, I wanted to completely eliminate the vertical scroll bars for the child records only when a row in the grid is expanded. Is this possible ? what about the case, when the child records are fetched dynamically at run time, when the parent row is expanded by user click ?

Thanks,
Atul

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Jul 2009, 05:29 AM
Hello Atul,

You can use HierarchyChildTemplate and wrap the child grid in StackPanel similar to our first look example.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pushpendra
Top achievements
Rank 1
answered on 18 Mar 2014, 01:06 PM
Hi Vlad,
 
I want to achieve same type of functionality in SilverLight. Here I am using the self reference grid and want to hide the vertical scroll bar of child grid, so that all the child records will visible on parent grid vertical scroll.
Earlier I have tried ChildTableDefinitions (http://www.telerik.com/forums/how-to-define-hierarchychildtemplate-with-self-reference-childtabledefinitions) to show the child grid data but it was also not working, and at this moment of project I can’t switch to ChildTableDefinitions since that is a major change.
Please suggest how can I hide the vertical scroll bar of self reference child grid in SilverLight.
 
Thanks,
Pushpendra
0
Nick
Telerik team
answered on 21 Mar 2014, 11:30 AM
Hi Pushpendra,

Regardless of the approach you are using, to achieve the desired effect, you need to either set the GridView height to show all items, or put it in a container that will do that instead(StackPanel as Vlad suggested).


Hope this helps.

Regards,
Nik
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
GridView
Asked by
Atul Katiyar
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Pushpendra
Top achievements
Rank 1
Nick
Telerik team
Share this question
or