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

parent-child table

Thread ID:

Created:

Updated:

Platform:

Replies:

66374 Jul 29,2007 11:20 PM UTC Aug 7,2007 12:03 AM UTC WinForms 4
loading
Tags: GridControl
Harshad
Asked On July 29, 2007 11:20 PM UTC

Hi

I am using relation descriptor to bind child table to the record.
I am using relation kind as RelationKind.RelatedMasterDetails
when intially grid is displayed parent and child data souce are empty so no records are displayed. if in other window data is entered and the parent and child data source is populated then open window get refresh and grid displays the parent record but child record is not get displayed under the parent record.
is there any way to refresh or reinitialize the relation to display the child table records..?
please help

haneefm [Syncfusion]
Replied On July 30, 2007 03:48 PM UTC

Hi Harshad,

Before starting your updates, try setting grid.Table.TableDirty = true and grid.Table.SummariesDirty = true to see if this will do what you need.

this.gridGroupingControl1.Table.TableDirty = true;
this.gridGroupingControl1.Table.SummariesDirty = true

//Your update .....

this.gridGroupingControl1.Refresh();

Best regards,
Haneef

Harshad
Replied On July 31, 2007 09:02 AM UTC

This all I have done, My problem is i have child table with relation descriptor and first time datasource is empty so there are no records in parent and child data source. but if new record is created and data source is updated then grid displays the parent record with grouping but not able to attach the child table through relation descriptor. this causes problem only for the 1st record..once child table is generated with 1 record then next onwards child table gets updated properly...

Harshad
Replied On August 6, 2007 09:28 AM UTC

Hi,

Any pointer on this. Please help

Thanks

haneefm [Syncfusion]
Replied On August 7, 2007 12:03 AM UTC

Hi Harshad,

I am not sure of what be might be causing this strange behavior without a working sample. I have tested this issue in browser sample with Essentail studio V.4.x/5.x. But i was not able to reproduce the issue. Is it possible for you to upload us a minimal sample or modify the browser sample to reproduce the issue here? This will help us to analyse the issue further.

Best regards,
Haneef

CONFIRMATION

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.

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

;