Hi,
I have a hierarchical set of datas like this :
public class RadiosGenre{ public List<Radio> Radios;} and I would like to put them in the xamDataGrid... and if possibe with "lazy loading"Is it possible and how ?
I have try with the following code but it do not work :
<igDP:XamDataGrid x:Name="xdgGenres"> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AutoGenerateFields="False" /> </igDP:XamDataGrid.FieldLayoutSettings> <igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout> <igDP:FieldLayout.Fields> <igDP:Field Name="Title" Label="Title"/> <igDP:Field Name="Radios"/> </igDP:FieldLayout.Fields> </igDP:FieldLayout> </igDP:XamDataGrid.FieldLayouts> </igDP:XamDataGrid>
Hi JoeM,
How do I create xamdatagrid within a style from codebehind (Runtime). Same as below but from codebehind at runtime.
<Style x:Key="CustomStyle"
BasedOn="{StaticResource {x:Type igDP:XamDataGrid}}"
TargetType="{x:Type igDP:XamDataGrid}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type igDP:XamDataGrid}">
<igDP:XamDataGrid>
</igDP:XamDataGrid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
One more question Can I have Xamdatagrid into a field of another xamdatagrid.
-Mital
Thanks a lot,
Also, is it possible to :
- Have only one header (and not a header for each level) ?- Have the last column to use the full width ... to force last column use the maximum of space ?
Thanks
VO01