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

GridGroupingControl Datasource

Thread ID:





54460 Jan 9,2007 04:30 PM UTC Jan 11,2007 07:08 AM UTC WinForms 3
Tags: Grouping
Administrator [Syncfusion]
Asked On January 9, 2007 04:30 PM UTC

The GridGroupingControl Datasource property is of type object but it throws an 'DataSourceComplexBinding' error whenever a Dictionary or Hashtable object is used. It seems so far that the Datasource can only take in objects implementing IList. Is there any way a Dictionary can be used directly as the Datasource?

Administrator [Syncfusion]
Replied On January 10, 2007 04:48 AM UTC

Hi Yong,

Please refer to the below forum thread for more details.

Best Regards,

Administrator [Syncfusion]
Replied On January 10, 2007 12:00 PM UTC

'Hi Allen,

The reason is that the Hashtable class does not implement the IList interface, which is required for data binding. In order to get around this, you should provide an implementation of IList on the Hashtable, which will return the DictionaryEntry structures for each item in the list. This will cause the key/value pairs to be shown in the data grid.

Best Regards,
Unfortunately this does not seem to work. Can a working example be provided please?

Administrator [Syncfusion]
Replied On January 11, 2007 07:08 AM UTC

Hi Yong,

Please try the attached sample and let me know if you are looking something different.

Best Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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