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

Need a sample for Master Detail Grid.

Thread ID:

Created:

Updated:

Platform:

Replies:

60219 Apr 30,2007 07:28 PM UTC Apr 30,2007 08:19 PM UTC WinForms 3
loading
Tags: GridControl
Ravi
Asked On April 30, 2007 07:28 PM UTC

Hi,

Can you please provide a sample program to implement master detail grid which covers the following scenarios.

1)The Master grid should contains static data which should be loaded for the first time during form load.
2)The detail grid should be an editable grid where add, update, delete feature for rows should be possible. The detail grid should always get the data from the database base on the selected master row.
3)Whenever a row is changed(current row) in master grid only the changes(add, update, delete row) in the detail grid should be commited in the database.
4)The detail grid should display the new values from the database based on the new row in master grid.

Regards,
Ravi.

haneefm [Syncfusion]
Replied On April 30, 2007 07:36 PM UTC

Hi Ravi,

Essential Grid’s GridGroupingControl supports hierarchical datasets. In the HierarchySample, you will see 5 levels of relations being represented with each level having its own nested table. When a user changes the foreign key value of a record in a nested table, the GridGroupingControl will automatically move the record to its new parent table and scroll the table into view.

Here is a path.
C:\Program Files\Syncfusion\Essential Studio\4.4.0.49\Windows\Grid.Grouping.Windows\Samples\FeatureSamples\HierarchySample

Best regards,
Haneef

Ravi
Replied On April 30, 2007 07:47 PM UTC

Hi Haneef,

Can i accomplish the task without using GridGrouping Control. I have a limitation of using GridGrouping control at this stage.

Regards,
Ravi.

haneefm [Syncfusion]
Replied On April 30, 2007 08:19 PM UTC

Hi Ravi,

You can use the Essential Grid's GridDataBoundGrid control to show the hierarchical dataset. Please refer to the Hierarchical category sample for more details.

Here is a path.
C:\Program Files\Syncfusion\Essential Studio\4.4.0.49\Windows\Grid.Windows\Samples\DataBound\Hierarchical

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

;