We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Complex-Property Binding Questions

Thread ID:





94989 Jun 15,2010 08:56 PM UTC Jun 18,2010 03:53 AM UTC WPF 1
Tags: GridControl
Andre Slenko
Asked On June 15, 2010 08:56 PM UTC

1) How can I expand the children sections (under Get, Push) by default after data is bound?
Is there an event that fires after data is bound?

2) How do I set the default row heights for the children sub-grids?
I tried to use this but it doesn't apply to the children sub-grids:
this.dataGrid.Model.RowHeights.DefaultLineSize = 20d;
this.dataGrid.Model.RowHeights[0] = 25d;

3) How can I hide/remove the first empty row that's displayed at all times for sub-grids?

4) How can I customize the GridDataSummaryRow to show the total number of actual SynchronizationItem rows?
In this example, it always shows 2 because I bound 2 SynchronizationCategories, I would like to display 5 and I would like to differentiate between IsSelected SynchronizationItems.
Basically, if you can provide me an example on how to completely customize the SummaryRow, that would be great!


Ganesan K [Syncfusion]
Replied On June 18, 2010 03:53 AM UTC

Hi Andre,

Thanks for using Syncfusion products.

Regarding #1,

You can use the IsGroupsExpanded property to achieve this,


Regarding #2,

You can use the RecordExpanded event to acheive this,

this.dataGrid.Model.Table.RecordExpanded += new EventHandler>(Table_RecordExpanded);

void Table_RecordExpanded(object sender, GridDataValueEventArgs e)
e.Value.ChildModels[0].RowHeights[0] = 20;

Regarding #3,

You can use the ShowAddNewRow property in child GridDataTableProperties,


Also, you have access to the Group / SummaryRow etc., through the "tableStyleIdentity" instance. Please check it out.

Please let us know if you need any more details.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon