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.
Syncfusion Feedback

MultipleColumnForeignKeys with manually entered column

Thread ID:

Created:

Updated:

Platform:

Replies:

79788 Feb 25,2009 09:21 PM UTC Mar 2,2009 02:37 PM UTC Windows Forms 2
loading
Tags: Grouping
Stephane _
Asked On February 25, 2009 09:21 PM UTC

Hi,

I'm using this example:

\Windows\Grid.Grouping.Windows\Samples\2.0\RelationsAndHierarchy\MultipleColumnForeignKeys

It works great. In the app I'm working on the column are created in the code. As soon as I add this

gridGroupingControl1.TableDescriptor.Columns.Add

in the sample, the 4th column disappear.

Do you have a sample that will show how to do the exact same thing be with manually entered column? (Instead of having them auto-generated).

Here's a sample (I marked the code with '' ######).

Thanks!



GC_Relation_4a3175df.zip

Lingaraj S [Syncfusion]
Replied On February 28, 2009 01:24 PM UTC

Hi Stephane,

Thanks for your interest in Syncfusion products.

In GridGroupingControl add the manual column using mapping name.The mapping name match to the datasource.

Please refer the code below.
c4.MappingName = "ChildTable_CategoryChildName"

Let me know if you have any queries.

Regards,
Lingaraj S


Stephane _
Replied On March 2, 2009 02:37 PM UTC

Thanks! It's working.

I was so close :)



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

;