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.

change style in virtual grid

Thread ID:

Created:

Updated:

Platform:

Replies:

20413 Oct 17,2004 02:04 PM Oct 17,2004 03:36 PM Windows Forms 1
loading
Tags: GridControl
Louis
Asked On October 17, 2004 02:04 PM

The project (CopyPaste_9300.zip) posted in ://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19603 shows a way to change style. But when and I set up the grid in virtual mode (herewith the modified project), then no change occurs in style. Thank you in advance for any help. Louis test_2748.zip

Administrator [Syncfusion]
Replied On October 17, 2004 03:36 PM

In a virtual grid, you are responsible for saving any cell style property you want to use. So, if you want to change style.BackColor for a cell, then in your SaveCellInfo hanlder, you will have to save this property, and then in QueryCellInfo, you have to retrieve the property you saved and set it back into the requested style. In your sample, the only thing you are saving in SaveCellInfo is CellValue. The only thing you are setting QueryCellInfo is CellValue. This is why other properties like BackColor are not being persisted.

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.

;