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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add a column to GridDataBoundGrid at runtime?

Thread ID:

Created:

Updated:

Platform:

Replies:

22400 Dec 11,2004 12:00 PM UTC Dec 11,2004 02:07 PM UTC WinForms 2
loading
Tags: GridControl
Rebecca
Asked On December 11, 2004 12:00 PM UTC

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 12:25 PM UTC

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

Rebecca
Replied On December 11, 2004 02:07 PM UTC

oh, you are toooooo helpful! Really thanks!

CONFIRMATION

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.

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

;