This question is locked. New answers and comments are not allowed.
Hi,
I was used Silverlight DataGrid, when i am converting this datagrid to telerik grid my functionality is breaking.
Below is my code, which binding with property and having two way binding and its working fine in silverlight grid and not in telerik grid.
In Silverlight Grid, there have SeedItem property CollectionViewGroupInternal which contains all whole object of binding. But i am not able to see that whole object in telerik. only i m getting the property which i grouped by.
<data:DataGrid.RowGroupHeaderStyles>
<Style TargetType="data:DataGridRowGroupHeader">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<StackPanel Orientation="Horizontal" Background="#FF112255" VerticalAlignment="Center">
<CheckBox IsChecked="{Binding Items[0].IsChecked, Mode=TwoWay}" Margin="5,0,0,0" HorizontalAlignment="Right" ></CheckBox>
<TextBlock Foreground="#FFEEEEEE" Text="{Binding Path=Items[0].PACK_DESC}" HorizontalAlignment="Left" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</data:DataGrid.RowGroupHeaderStyles>
Could u please tell me how to achieve/access whole object in to bind it in GroupHeaderTemplate.
I was used Silverlight DataGrid, when i am converting this datagrid to telerik grid my functionality is breaking.
Below is my code, which binding with property and having two way binding and its working fine in silverlight grid and not in telerik grid.
In Silverlight Grid, there have SeedItem property CollectionViewGroupInternal which contains all whole object of binding. But i am not able to see that whole object in telerik. only i m getting the property which i grouped by.
<data:DataGrid.RowGroupHeaderStyles>
<Style TargetType="data:DataGridRowGroupHeader">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<StackPanel Orientation="Horizontal" Background="#FF112255" VerticalAlignment="Center">
<CheckBox IsChecked="{Binding Items[0].IsChecked, Mode=TwoWay}" Margin="5,0,0,0" HorizontalAlignment="Right" ></CheckBox>
<TextBlock Foreground="#FFEEEEEE" Text="{Binding Path=Items[0].PACK_DESC}" HorizontalAlignment="Left" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</data:DataGrid.RowGroupHeaderStyles>
Could u please tell me how to achieve/access whole object in to bind it in GroupHeaderTemplate.