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.

Unbound Gradient Rown in GDBG

Thread ID:





59313 Apr 10,2007 06:34 PM Apr 13,2007 02:27 PM Windows Forms 5
Tags: GridControl
Felix De Herrera
Asked On April 10, 2007 06:34 PM

How can one 'insert' an unbound covered row with a gradient background into a GDBG? Also, this unbound row would have a 2 column row-header. First column blank and second column with an icon. The remainder of the columns would be a covered cell with text and a gradient background. ~Thanks

Administrator [Syncfusion]
Replied On April 11, 2007 11:08 AM

If you want the row at the top of the grid, then you can use a extra header row to do something like this. Here is a little sample.

Administrator [Syncfusion]
Replied On April 11, 2007 11:09 AM

Here is the link.


Felix De Herrera
Replied On April 11, 2007 12:29 PM

Hi Clay, Thanks for the prompt response. The unbound row in question would be more like a sub-header and would occur in many rows throughout the grid and not typically at the top. It is to be used as a 'grouping' divider within a product. The original developer used a standard GDBG and not a grouping grid, and the code behind this grid is quite complex. ~Thanks

Administrator [Syncfusion]
Replied On April 11, 2007 01:23 PM

There is not really a good way randomly add unbound rows in a GriddataBoundGrid. One way you can do this is to use LayoutColumns to display 2 grid rows per record and normally hide the 2nd row. In the case where you want to see an unbound row, do not hide 2nd row. Here is a little sample.


Felix De Herrera
Replied On April 13, 2007 02:27 PM

Thanks Clay..


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.