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.
Unfortunately, activation email could not send to your email. Please try again.

Drag & Drop Colunms in gridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

50636 Oct 16,2006 09:28 AM Oct 23,2006 09:56 AM Windows Forms 9
loading
Tags: GridControl
Genry
Asked On October 16, 2006 09:28 AM

Hello,
I'm using gridGroupingControl.
When I bound to grid DataSource property dataSet whith more then one DataTable, drag&drop column do not work:

DataSet ds = new DataSet();
ds.ReadXml(@"c:\Temp\ds.xml");
gridGroupingControl1.DataSource = ds;

I sow some samples whith similar problem, but all sambles bound to DataSource DataTable.
Thank you

Genry
Replied On October 17, 2006 04:56 AM

Please, help!?

Administrator [Syncfusion]
Replied On October 17, 2006 05:06 AM

Hi Genry,

You can make use of the AddGroupDropArea method to add drop area for the nested tables. Here is the code snippet

this.grid.Datasource = ds;
//Try setting the DataMember property to display the specified list in a grid.
this.grid.DataMember = "parentTable";

this.grid.ShowGroupDropArea = true;
this.grid.AddGroupDropArea("ChildTable");
this.grid.AddGroupDropArea("GrandChildTable");

Here is a Sample
http://www.syncfusion.com/Support/user/uploads/GroupDropArea_fbf5949e.zip

Also refer to the Broswer sample \\Windows\Grid.Grouping.Windows\Samples\MultipleRecordSelection for more details

If this did not help you to solve the problem, please modify the sample to show the problem.

Best Regards,
Haneef

Genry
Replied On October 17, 2006 08:29 AM

Hello, Haneef. Thanks for You advice.
But, there is some problem. All tables in DataSet are main tables(without children). What table must be gridGroupingControl1.DataMember.

Pliase, would You see project attached to this note and suggest some advice how I can to do drag&drop columns in all tables.

Thank You.


ProbaD&D.zip

Genry
Replied On October 17, 2006 10:36 AM

Help,pliase!?

Genry
Replied On October 18, 2006 05:11 AM

Could You say, what is status of this post.
Pleas,if there is any decision, let me know, becouse time is critical.
Thank you.

Administrator [Syncfusion]
Replied On October 18, 2006 05:59 AM

Hi Genry,

We apologize for the long delay, we will be updating this post soon.
Sorry for the inconvenience caused.

Thanks,
Rajagopal

Genry
Replied On October 19, 2006 10:47 AM

Could You say, what is status of this post.

Thank you.

Jayakumar Natarajan [Syncfusion]
Replied On October 20, 2006 06:55 PM

Hi Genry,
We could see the issue. I have forwarded this to the development team. I will let you know the status of this issue by Monday.

Thanks for your patience.
Regards,
Jay

Jayakumar Natarajan [Syncfusion]
Replied On October 23, 2006 09:56 AM

Hi Genry,
We have fixed this issue in our library. It will be availble in the upcoming 4.4 release.

Thanks,
Jay

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.

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.

;