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

GridDataBoundGrid / Design

Thread ID:

Created:

Updated:

Platform:

Replies:

69297 Oct 23,2007 12:05 PM UTC Oct 23,2007 03:02 PM UTC WinForms 1
loading
Tags: GridControl
Christoph Gasser
Asked On October 23, 2007 12:05 PM UTC

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 03:02 PM UTC

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.

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

;