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

Data Binding

Hey i have an urgent question and im new to syncfusion essentials . I would like to know how i can add a grid control that will allow a user to change the data source during run time.
If there is a way to approach it would be thankful.

1 Reply

AK Adhikesevan Kothandaraman Syncfusion Team September 14, 2015 09:43 AM UTC

Hi Richard,

Thank you for contacting Syncfusion Support.

We like to suggest the GridGroupingControl for your requirement. You can refer to the following UG link.
UG Link:
http://help.syncfusion.com/windowsforms/grid/getting-started#choosing-the-best-grid

To set the data source for the grid dynamically, use the DataSource property. Refer to the following code example.

Code Example:

//Set the DataSource for GridGroupingControl
this.gridGroupingControl1.DataSource = sourceTable;

Links:
http://www.syncfusion.com/kb/495/how-to-set-the-datasource-in-the-gridgroupingcontrol
http://help.syncfusion.com/windowsforms/gridgrouping/data-binding

Regards,
Adhi.


Loader.
Up arrow icon