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

How to rebind the data to unbounded columns

Thread ID:





56040 Feb 8,2007 06:04 PM UTC Feb 8,2007 07:02 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 8, 2007 06:04 PM UTC


I need to rebind the datasource to the grouping grid control based on some action.
But when I say dgAttributeAnalysis.datasource=Collection
Rebind does not happen and unbound columns want get new values.

Actually i want to get the changes made in data source collection to reflect in grid and some properties in the collection are binded in QueryValue event should get the updated data

Please give me pointer


Administrator [Syncfusion]
Replied On February 8, 2007 07:02 PM UTC

Hi John,

Before you set the datasource for the grid, you need to clear the columns and unbound columns using the Clear() method and then add the columns.

Here is the sample.

Also refer to the GridGroupingRebind browser sample that demonstrates the switching of datasources at runtime and how to reset the GridGroupingControl to its original empty state. It assigns different datasources (retrieved from the NorthWind MS Access database using OleDb) with different number of levels at runtime.
[install drive]\Syncfusion\Essential Studio\\Windows\Grid.Grouping.Windows\Samples\FeatureSamples\GridGroupingRebind

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