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

RadGridView inside panel, performance and flexibility

2 Answers 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 03 Jun 2011, 07:39 AM
Hi,
I use RadGridView in Grid panel:
<Grid.RowDefinitions>
    <RowDefinition Height="60"/>
    <RowDefinition Height="500"/>
</Grid.RowDefinitions>
The first row is Header and the second one RadGridView.
It works fine according to performance.


<Grid.RowDefinitions>
    <RowDefinition Height="60"/>
    <RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
On the other hand this RadGridView works fine according to flexibility but not UI performance.


How to achieve such effect like having RadGridView fast UI and on the other hand when user change size of the window,
RadGridView also adjust visible amount of rows to fulfill window size.
Thanks in advance.
Robert

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 03 Jun 2011, 07:50 AM
Hi Robert,

 

Generally placing a RadGridView in a layout container which measures its children with infinity may lead to performance problems. Such containers are StackPanel, ScrollViewer, Grid with ColumnDefinition/RowDefinition set to Auto. In your particular case you may place RadGridView in a RowDefinition set to *  in order to avoid such problems. You may read more about this in our online documentation, please follow this link. 


Kind regards,
Vanya Pavlova
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
Robert
Top achievements
Rank 1
answered on 11 Jun 2011, 06:57 AM
Hi Vanya ,
well, it works, thanks ,
best regards
Robert
Tags
GridView
Asked by
Robert
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Robert
Top achievements
Rank 1
Share this question
or