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 All,
I have question for you
For Example if i have 4 tables A,B,C,D
A is the parent to B.
C and D are the childs of B
how can i enable or disable the the fields layouts for the C and D depending on the count of the data or using the some field values of the data in the XamDatagrid (Parent to child relationship)?
Thanks
Prakash
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
Hai,
whether that Subcollection contains records in it? In my collection that Subcollection contains more than 1 records(count).It displayed in child level.And also you have to specify that collection name on parent field.
Hello.
Do you have any sample on binding the grid thru Ienumerable ?
Hello,
I am trying to bind xamdatagrid using WCF service. My single stored procedure gets all the data.But its not in the parent-child format.Just no of records.
Code in WCF service:
Public Function Raise_Request_Records_Summary(ByVal Completion_Level As Int16) As DataTable Implements WCF_Service_Pay_Raise_Request.Raise_Request_Records_Summary
Try
Dim SQL_Statement As String = "EXEC STORED PROCEDURE"
MySQLCommand.Parameters(0).Value = Completion_Level
MyDataAdapter.Fill(TempTable)
Result = TempTable.Clone
'Cleanup!
MyDataAdapter.Dispose()
MySQLCommand.Dispose()
MySQLConnection.Dispose()
Result.TableName = "Raise_Request_Records_Summary"
End Function
CODE IN THE PAGE_LOADED:
If chk_Hide_Closed.IsChecked Then Completion_Level = 1
Client.Close()
I NEED GRID TO DISPLAY THIS:
Band1: Name(ABC), Submitted on
Band2: All the data under(ABC)
How can I achieve this ? I donot get plus sign ??
Were you able to get this working ??
I have the same issue.