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

GridDataBoundGrid / Design

Thread ID:





69297 Oct 23,2007 12:05 PM UTC Oct 23,2007 03:02 PM UTC WinForms 1
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);

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?


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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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