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.

GridDataBoundGrid / Design

Thread ID:

Created:

Updated:

Platform:

Replies:

69297 Oct 23,2007 08:05 AM Oct 23,2007 11:02 AM Windows Forms 1
loading
Tags: GridControl
Christoph Gasser
Asked On October 23, 2007 08:05 AM

I fill the GDBG per code like this:

this.gridDataBoundGridBonus.DataSource = dt;
Syncfusion.Windows.Forms.Grid.GridModelDataBinder binder = this.gridDataBoundGridBonus.Binder;

//
// gridBoundColumnBonusNumber
//
GridBoundColumn gridBoundColumnBonusNumber = binder.InternalColumns["Bonus_number"];
gridBoundColumnBonusNumber.HeaderText = "Nummer";
//gridBoundColumnBonusNumber.MappingName = "Bonus_number";
gridBoundColumnBonusNumber.StyleInfo.CellValueType = typeof(string);
//this.gridDataBoundGridBonus.GridBoundColumns.Add(gridBoundColumnBonusNumber);

Like this I'm adding 5 colums to the grid. But when the grid is loaded, there is a cell on the right side of each row. How can I avoid the grid drawing these cells?

grid.zip

Christoph Gasser
Replied On October 23, 2007 11:02 AM

Solved. Now it's working. Nothin changed on the code. Strange ... I'll keep an eye on it.

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.

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.

;