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.

Having an issue with QueryCellInfo event

Thread ID:

Created:

Updated:

Platform:

Replies:

38894 Dec 20,2005 03:56 PM Dec 21,2005 02:03 AM Windows Forms 1
loading
Tags: GridControl
Cody Powell
Asked On December 20, 2005 03:56 PM

Right now, I''m using the QueryCellInfo event handler to populate the cells in my grid. I do so through the following call: e.Style.CellValue = dataContainer.GetValue(row, col); When I actually pull the grid up, it looks just fine and works exactly the way I''d expect. However, if I try to get that cell''s value in another method immediately after the event fires, it looks like the cell is blank. In that method, I''m just using a simple way to access the cell, with myGrid[row, col].Text Am I missing some method call to update the grid at the end of the QueryCellInfo event? This is part of some unit tests that I''m writing, and I need to verify that the cells are being populated with the correct values. Thanks, Cody

stanleyj [Syncfusion]
Replied On December 21, 2005 02:03 AM

Hi Cody, I tried myGrid[row, col].Text in CurrentCellDeactivated handler and also in a button handler, there was no problem in retrieving the values. Are you sure you are calling the method after ResetVolatileData. Where exactly you invoke your method to retrieve the value? Best regards, Stanley

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.

;