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.

Active Text

Thread ID:

Created:

Updated:

Platform:

Replies:

10424 Feb 2,2004 07:40 AM Feb 2,2004 09:12 AM Windows Forms 1
loading
Tags: GridControl
Terry Foster
Asked On February 2, 2004 07:40 AM

What is the purpose of a cell model''s ''activeTextValue''? This seems to be reeking havoc on my virtual grid. I don''t seem to be using this for anything but internally, when a cell''s text is to be drawn, the method ''Model.GetFormattedOrActiveTextAt'' is being called which often returns old, bad values from the activeTextValue. I''m finding myself fighting this thing quite a bit - is there anyway I can simply bypass this and always return the style''s Formatted text (without, of course, having to override or modify your code)? Thanks, Terry

Administrator [Syncfusion]
Replied On February 2, 2004 09:12 AM

This property should be retaining the value of an actively editing cell control. So if your user has typed ''123'' in cell that originally had ''ab'' in it, the active text should be 123 while the cell is still active. Now if your external datasource changes the value of an actively editing cell, this change will not be reflected unless you do something to cause the current cell to reset this value. Normally, when your external datasource updates, you have to call grid.Refresh or grid.RefreshRange to tell the grid to repaint to show the new values. If you want the currentcell to be refreshed as well, you can call grid.RefreshRange(range, true);. The second parameter tells the grid to refresh the currentcell.

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.

;