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

Problem with Covered cells in Virtual Grid

Thread ID:





27885 Apr 19,2005 09:23 PM UTC Apr 20,2005 12:26 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On April 19, 2005 09:23 PM UTC

Sorry to repost this so soon, but I''m under a tight deadline and I could really use some help on this. I have a virtual grid. I have some covered cells. For example, let''''s say I have 2 rows of Column Headers. I have a covered range in the second column that covers the cells in the 1st and 2nd row of that column. I want to put text in only in the second row of that covered range, but I get QueryCellInfo for row 1, col 1, but not row 2, col 1. So how do I set a value in row 2, col 1? Thanks. Pete

Administrator [Syncfusion]
Replied On April 19, 2005 10:03 PM UTC

A covered cell''s style is determined by the top-left cell in the range no matter whether the covered cell is 2 cells or 50 cells. The style of the whole range is determined by the style of the top-left cell. So, in your setup, you should set the text you want to see when QueryCellInfo passes in the top-left cell. You can set the e.Style.VerticalAlignment to Bottom to have that text displayed at the bottom of the covered cell.

Administrator [Syncfusion]
Replied On April 20, 2005 12:26 PM UTC

Thanks Clay. I had already tried that and it didn''t work, but you saying to do that way made me look into it a bit more until I realized the reason the VerticalAlignment wasn''t working was because the cell was one of our custom text cell types that completely ignored the VerticalAlignment property. Anyway, I added that and it works like a charm. Thanks again.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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