Hi Darran,
Thank you for your update.
We have checked with your requirement but you cannot bind the exact grouped collections to the particular GridDataTableModel to the Child Model in the server side. But, you can set the ItemsSource of the child model dynamically using the RecordExpanding event of the GridDataControl.Model.Table like below
Code Snippet[C#]
this.dataGrid.Model.Table.RecordExpanding += new GridDataRecordExpandingEventHandler(Table_RecordExpanding);
void Table_RecordExpanding(object sender, GridDataRecordExpandingEventArgs args)
{
string connectionString = string.Format(@"Data Source = {0}", "Northwind.sdf");
Nwind = new Northwind(connectionString);
//dynamically binding the data to child table
args.ChildItemsSource = Nwind.OrderDetails;
args.Handled = true;
}
We have created a sample based on your requirement, In which we have controlled the number of records to be displayed in the child table.
Sample:<
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=NestedChildDemo-1878810287.zip >
Note: The similar query is posted in the Incident #84651, Please update your queries in that respective incident for better follow up.
Please let us know if you have any queries.
Thanks,
Rajasekar