This question is locked. New answers and comments are not allowed.
Hi,
I got a custom header shown in the code below. The problem is that I lose the column resizing ability when I do so. How can I enable it back?
I got a custom header shown in the code below. The problem is that I lose the column resizing ability when I do so. How can I enable it back?
<telerik:GridViewDataColumn x:Name="freightStatus" DataMemberBinding="{Binding LoadFreightStatusID, Converter={StaticResource FreightStatusConverter}}" Width="125" Header="Freight Status"> <telerik:GridViewDataColumn.HeaderCellStyle> <Style TargetType="telerikheadercell:GridViewHeaderCell"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Border BorderBrush="#FF0AA0FF" BorderThickness="0,0,1,0"> <StackPanel Orientation="Vertical"> <Grid> <TextBlock Text="{Binding Strings.orderFreightStatus, Source={StaticResource res}}" Height="22" Margin="1,0,22,0" Padding="3, 3"/> <TextBlock Width="22" Text="▲▼" Height="22" VerticalAlignment="Center" HorizontalAlignment="Right" Padding="0, 2" Margin="0,0,2,0"/> </Grid> <TextBlock/> </StackPanel> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> </telerik:GridViewDataColumn.HeaderCellStyle> </telerik:GridViewDataColumn>