Drag & Drop Colunms in gridGroupingControl

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

9 Replies

GE Genry October 17, 2006 08:56 AM UTC

Please, help!?


AD Administrator Syncfusion Team October 17, 2006 09:06 AM UTC

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


GE Genry October 17, 2006 12:29 PM UTC

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


GE Genry October 17, 2006 02:36 PM UTC

Help,pliase!?


GE Genry October 18, 2006 09:11 AM UTC

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


AD Administrator Syncfusion Team October 18, 2006 09:59 AM UTC

Hi Genry,

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

Thanks,
Rajagopal


GE Genry October 19, 2006 02:47 PM UTC

Could You say, what is status of this post.

Thank you.


JN Jayakumar Natarajan Syncfusion Team October 20, 2006 10:55 PM UTC

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


JN Jayakumar Natarajan Syncfusion Team October 23, 2006 01:56 PM UTC

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

Thanks,
Jay

Loader.
Up arrow icon