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. Image for the cookie policy date
close icon

MultipleColumnForeignKeys with manually entered column

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

2 Replies

LS Lingaraj S Syncfusion Team 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



S_ Stephane _ March 2, 2009 02:37 PM UTC

Thanks! It's working.

I was so close :)



Loader.
Live Chat Icon For mobile
Up arrow icon