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.

No subject

Thread ID:

Created:

Updated:

Platform:

Replies:

3050 Feb 27,2003 08:07 AM Feb 28,2003 04:14 AM Windows Forms 6
loading
Tags: GridControl
Barbara Arz
Asked On February 27, 2003 08:07 AM

How can I set in a easy way all column headers? I would like to do this with an one dimensional array or writing it directly to the cell. I'm working with an virtual grid. The event QueryCellInfo does not fire for row = 0. I know that it works with the PopulateValues function, but for this function I need a 2-dimensional array. Thanks for help in advance Barbara

Administrator [Syncfusion]
Replied On February 27, 2003 10:32 AM

Row 0 is a row just like any other row in the grid. Only difference is it contains cells of type CellType = "Header". So, QueryCellInfo will also fire for row 0. Just check for e.RowIndex == 0. Stefan

Barbara Arz
Replied On February 27, 2003 11:45 PM

Yes it works. Sorry, for making an effort, it was my fault. Barbara

Barbara Arz
Replied On February 28, 2003 02:02 AM

No, sorry it doesn't work proper: this.gridControl1[0,1].CellValue = "hh";-> works void GridQueryCellInfo(....) if (e.RowIndex == 0) { e.Style.CellValue ="gfgefe"; }

Barbara Arz
Replied On February 28, 2003 02:03 AM

No, sorry it doesn't work proper: this.gridControl1[0,1].CellValue = "hh";-> works void GridQueryCellInfo(....) if (e.RowIndex == 0) { e.Style.CellValue ="gfgefe"; } What's wrong? Best regards Barbara

Administrator [Syncfusion]
Replied On February 28, 2003 04:06 AM

In your QCI, when you set the cellvalue, also try setting e.Handled = true; to see that resolves this problem.

Barbara Arz
Replied On February 28, 2003 04:14 AM

well, now I installed the latest patch and it works much more better! Barbara

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.

;