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.
Syncfusion Feedback

Getting cell info after losing focus

Thread ID:

Created:

Updated:

Platform:

Replies:

61656 May 30,2007 03:57 PM UTC May 30,2007 04:02 PM UTC Windows Forms 1
loading
Tags: GridControl
Dan Dorey
Asked On May 30, 2007 03:57 PM UTC

Hey, I'm using v5

In the test app, if you enter some text in the cell and then click in the text box to lose focus, I would expect that the text box would then show the text typed in the grid. However when you access the grid[1,1].Text at this point, it's still empty.

If you click back on the grid and then on the text box again it will then populate the value properly.

Can you tell me what's going on here? Maybe I need to somehow update the grid to get the modified value?

Thanks,
Dan

GridTest6.zip

Dan Dorey
Replied On May 30, 2007 04:02 PM UTC

never mind. I tried using the CurrentCellEditingComplete event and that appears to do what I need in a better way.

Thanks,
Dan

>Hey, I'm using v5

In the test app, if you enter some text in the cell and then click in the text box to lose focus, I would expect that the text box would then show the text typed in the grid. However when you access the grid[1,1].Text at this point, it's still empty.

If you click back on the grid and then on the text box again it will then populate the value properly.

Can you tell me what's going on here? Maybe I need to somehow update the grid to get the modified value?

Thanks,
Dan

GridTest6.zip

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

;