This question is locked. New answers and comments are not allowed.
I am writing to learn if it is possible to have a static column, or freeze a column, in a RadDataGrid for Windows 8; as I understand, the RadDataGrid for Ajax has a Client Settings section, but I am unable to locate this type of setting of the RadDataGrid for Windows 8;
The below Xaml code sample is the RadDataGrid which with I am working, including DataGridTemplateColumns;
The goal is to maintain visibility of the first column on the left (or left-most column) - Metric Display Name, if scrolling over to the right;
Thanks in advance for any insight;
The below Xaml code sample is the RadDataGrid which with I am working, including DataGridTemplateColumns;
The goal is to maintain visibility of the first column on the left (or left-most column) - Metric Display Name, if scrolling over to the right;
Thanks in advance for any insight;
<
telerikGrid:RadDataGrid
x:Name
=
"Scenarios"
AutoGenerateColumns
=
"False"
VerticalAlignment
=
"Top"
Grid.Row
=
"2"
Height
=
"510"
Width
=
"1000"
Margin
=
"0,0,0,0"
HorizontalAlignment
=
"Center"
Visibility
=
"Collapsed"
>
<
telerikGrid:RadDataGrid.Columns
>
<
telerikGrid:DataGridTemplateColumn
Header
=
"Metric Display Name"
Width
=
"500"
>
<
telerikGrid:DataGridTemplateColumn.CellContentTemplate
>
<
DataTemplate
>
<
TextBlock
x:Name
=
"tbNameFM"
Text
=
"{Binding Index, Mode=TwoWay}"
Foreground
=
"White"
TextWrapping
=
"Wrap"
FontSize
=
"14"
Height
=
"20"
Margin
=
"5,0,0,0"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
/>
</
DataTemplate
>
</
telerikGrid:DataGridTemplateColumn.CellContentTemplate
>
</
telerikGrid:DataGridTemplateColumn
>
<
telerikGrid:DataGridTemplateColumn
Header
=
" LATAM Argentina and Uruguay Brazil Chile Colombia Latam New Markets Mexico Peru Puerto Rico Venezuela"
>
<
telerikGrid:DataGridTemplateColumn.CellContentTemplate
>
<
DataTemplate
>
<
Grid
x:Name
=
"grdIDMarketName"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
<
ColumnDefinition
Width
=
"110"
/>
</
Grid.ColumnDefinitions
>
<!--<Rectangle x:Name="recEMEA" Fill="{Binding indexrecEMEA, Mode=TwoWay}" Grid.Row="0" Grid.Column="0" Margin="0,0,0,0" Height="20" Width="80" HorizontalAlignment="Center" VerticalAlignment="Center"></Rectangle>-->
<
Rectangle
x:Name
=
"recLATAM"
Fill
=
"{Binding indexLATAM, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"0"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recArgentina"
Fill
=
"{Binding indexArgentina, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"1"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recBrazil"
Fill
=
"{Binding indexBrazil, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"2"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recChile"
Fill
=
"{Binding indexChile, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"3"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recColombia"
Fill
=
"{Binding indexColombia, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"4"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recLatamNew"
Fill
=
"{Binding indexLatamNew, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"5"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recMexico"
Fill
=
"{Binding indexMexico, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"6"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recPeru"
Fill
=
"{Binding indexPeru, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"7"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recPuerto"
Fill
=
"{Binding indexPuerto, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"8"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
<
Rectangle
x:Name
=
"recVenezuela"
Fill
=
"{Binding indexVenezuela, Mode=TwoWay}"
Grid.Row
=
"0"
Grid.Column
=
"9"
Margin
=
"0,0,0,0"
Height
=
"20"
Width
=
"80"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
></
Rectangle
>
</
Grid
>
</
DataTemplate
>
</
telerikGrid:DataGridTemplateColumn.CellContentTemplate
>
</
telerikGrid:DataGridTemplateColumn
>
</
telerikGrid:RadDataGrid.Columns
>
</
telerikGrid:RadDataGrid
>