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.

Add a column to GridDataBoundGrid at runtime?

Thread ID:





22400 Dec 11,2004 07:00 AM Dec 11,2004 09:07 AM Windows Forms 2
Tags: GridControl
Asked On December 11, 2004 07:00 AM

Some columns are added at runtime to the GridDataBoundGrid, but the last column is never displayed, and data is never filled,i.e., cells are left empty. Its DataSource is a DataTable, of which data is correct, and the number of columns in the Grid is right. Please help me, many thanks!

Administrator [Syncfusion]
Replied On December 11, 2004 07:25 AM

After adding the column to the datasource, try calling grid.Binder.InitializeColumns.

Replied On December 11, 2004 09:07 AM

oh, you are toooooo helpful! Really thanks!


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.

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.