Thanks
P
6 Answers, 1 is accepted
Generally columns generation is not related to this. The grid will take all available space without need to set any properties. Can you provide more info about your scenario? Screenshot will be appreciated as well.
Best wishes,Vlad
the Telerik team
<Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<telerik:RadGridView x:Name="radGridView1" AutoGenerateColumns="True" Margin="5" Grid.Row="1" HorizontalAlignment="Stretch"
/>
<TextBlock Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Center"
Foreground="Black" FontFamily="Arial" Margin="5" x:Name="tbTitle" >
</TextBlock>
</Grid>
Actually this is not extra column - just rows measured to the end of the grid. You can remove this if you set ColumnWidth="*" for the grid or set Width="*" for the last grid column. To access auto-generated columns you can use AutoGeneratingColumn event.
All the best,Vlad
the Telerik team
Thanks
P