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. Image for the cookie policy date

Unbound Gradient Rown in GDBG

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

5 Replies

AD Administrator Syncfusion Team April 11, 2007 03:08 PM UTC

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.



AD Administrator Syncfusion Team April 11, 2007 03:09 PM UTC

Here is the link.


WindowsApplication1310.zip


FD Felix De Herrera April 11, 2007 04:29 PM UTC

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


AD Administrator Syncfusion Team April 11, 2007 05:23 PM UTC

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.


WindowsApplication1311.zip


FD Felix De Herrera April 13, 2007 06:27 PM UTC

Thanks Clay..

Loader.
Live Chat Icon For mobile
Up arrow icon