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.

Column shading

Thread ID:

Created:

Updated:

Platform:

Replies:

24693 Feb 9,2005 09:51 AM Feb 9,2005 12:05 PM Windows Forms 2
loading
Tags: GridControl
Mike Woolley
Asked On February 9, 2005 09:51 AM

I''m changing the background of a cell in a grid based on whether it is in the currently selected row and/or column. However, the column can only be shaded as far as the last cell in the column by using this method. In the case where the grid client area displays empty space because there aren''t enough cells to fill the area, I''d like the shading to extend to the bottom of the client area of the grid. Any ideas how I might achieve this, short of padding the grid out with "extra" cells?

Administrator [Syncfusion]
Replied On February 9, 2005 10:59 AM

Is grid.Model.Options.DisplayEmptyRows = true; ok for you? Stefan >I''m changing the background of a cell in a grid based on whether it is in the currently selected row and/or column. > >However, the column can only be shaded as far as the last cell in the column by using this method. In the case where the grid client area displays empty space because there aren''t enough cells to fill the area, I''d like the shading to extend to the bottom of the client area of the grid. > >Any ideas how I might achieve this, short of padding the grid out with "extra" cells?

Mike Woolley
Replied On February 9, 2005 12:05 PM

Many thanks, that''s certainly what I was after. How can I set the backcolor and borders for these empty cells?

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.

;