Hi,
I'm migrating a project from wpf to silverlight and I have a hierarchical xamdatagrid in wpf which i need to convert to a xamgrid. I've noticed a lot of properties of the xamdatagrid are not present in the xamgrid. Can someone help me convert the following xamdatagrid to a xamgrid?
<igDP:XamDataGrid Margin="0,0,0,0"
GroupByAreaLocation="None"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Width="568"
DataSource="{Binding Collection}"
RecordAdded="DataGridRecordAdded"
RecordUpdating="DataGridRecordUpdating"
CellUpdated="DataGridCellUpdated"
AssigningFieldLayoutToItem="PortfolioDataGridAssigningFieldLayoutToItem"
UpdateMode="OnRecordChange" PreviewMouseLeftButtonDown="DataGridPreviewMouseLeftButtonDown" EditModeStarting="DataGridEditModeStarting" EditModeEnded="DataGridEditModeEnded">
<igDP:XamDataGrid.ViewSettings>
<igDP:GridViewSettings UseNestedPanels="True"/>
</igDP:XamDataGrid.ViewSettings>
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings AutoGenerateFields="False"
ExpansionIndicatorDisplayMode="CheckOnDisplay"
SupportDataErrorInfo="RecordsAndCells"
DataErrorDisplayMode="ErrorIconAndHighlight"></igDP:FieldLayoutSettings>
</igDP:XamDataGrid.FieldLayoutSettings>
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout x:Name="LevelZero" Key="DataGridItemType">
<igDP:FieldLayout.FieldSettings>
<igDP:FieldSettings AllowEdit="False" CellClickAction="SelectRecord" ExpandableFieldRecordPresenterStyle ="{StaticResource LabelStyle}"/>
</igDP:FieldLayout.FieldSettings>
<igDP:FieldLayout.Settings>
<igDP:FieldLayoutSettings AllowDelete="False" AutoFitMode="Always" RecordSelectorStyle="{StaticResource recordSelectorStyle1}">
</igDP:FieldLayoutSettings>
</igDP:FieldLayout.Settings>
<igDP:FieldLayout.Fields>
<igDP:Field Name="Type" Width="90" />
<igDP:Field Name="TypeCollection" />
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataGrid>
This thread was addressed here:
http://community.infragistics.com/forums/t/58872.aspx