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

Having an issue with QueryCellInfo event

Thread ID:





38894 Dec 20,2005 08:56 PM UTC Dec 21,2005 07:03 AM UTC WinForms 1
Tags: GridControl
Cody Powell
Asked On December 20, 2005 08:56 PM UTC

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 07:03 AM UTC

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


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

This page will automatically be redirected to the 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