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

Column shading

Thread ID:

Created:

Updated:

Platform:

Replies:

24693 Feb 9,2005 02:51 PM UTC Feb 9,2005 05:05 PM UTC WinForms 2
loading
Tags: GridControl
Mike Woolley
Asked On February 9, 2005 02:51 PM UTC

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 03:59 PM UTC

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 05:05 PM UTC

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.

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

;