This question is locked. New answers and comments are not allowed.
I have created DataGridTemplateColumn in RadDataGrid. How can i implement sorting on click of header name with display of up and down arrows besides column name as it comes in DataGridNumericalColumn. The XAML code is mentioned below for that column:
<telerikGrid:DataGridTemplateColumn
CellContentTemplateSelector="{StaticResource UpDownTemplateSelector}"
HeaderStyle="{StaticResource HeaderStyleProduct}">
<telerikGrid:DataGridTemplateColumn.Header>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<TextBlock Text="{Binding ElementName=thisPage, Path=Name}" Style="{StaticResource ReportTypeStyleTextProduct}"/>
</StackPanel>
</telerikGrid:DataGridTemplateColumn.Header>
</telerikGrid:DataGridTemplateColumn>
CellContentTemplate has one label and an image besides it. This column displays number value which is comma separated like 956,000
Please let me know the answer ASAP. In urgent need. Thanks in advance.
<telerikGrid:DataGridTemplateColumn
CellContentTemplateSelector="{StaticResource UpDownTemplateSelector}"
HeaderStyle="{StaticResource HeaderStyleProduct}">
<telerikGrid:DataGridTemplateColumn.Header>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<TextBlock Text="{Binding ElementName=thisPage, Path=Name}" Style="{StaticResource ReportTypeStyleTextProduct}"/>
</StackPanel>
</telerikGrid:DataGridTemplateColumn.Header>
</telerikGrid:DataGridTemplateColumn>
CellContentTemplate has one label and an image besides it. This column displays number value which is comma separated like 956,000
Please let me know the answer ASAP. In urgent need. Thanks in advance.