Solved

Infragistics UltraGrid AfterCellUpdate Event

Posted on 2007-04-03
4
9,154 Views
Last Modified: 2013-12-20
I have a checkbox column within an Infragistics UltraGrid.  When the user ticks the check box I have to display 'X'  in the next column cell.  When the user unticks the check box I have to display 'Y' in the next column cell.  

The problem is that the AfterCellUpdate event that I am using to trigger the process only fires on leaving the cell - I need to be able to display the X or Y values in the next column cell  as soon as the checkbox is ticked or unticked.
0
Comment
Question by:ccravenbartle
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
danaseaman earned 250 total points
ID: 18847848
Have you tried Event BeforeCellUpdate or Event CellChange?
0
 

Author Comment

by:ccravenbartle
ID: 18849963
I have.  The BeforeCellUpdate event is no good because it also only gets fired on leaving the cell and the CellChange event is no good because it does not return the updated cell value - it always returns 0.
0
 

Author Comment

by:ccravenbartle
ID: 18850181
I have found a way around this problem by using the CellChange event to fire the UltraGrid.PerformAction(UltraGridAction.NextCellByTab) method which then fires the AfterCellUpdate event.
0
 
LVL 3

Assisted Solution

by:RizwanKhalid
RizwanKhalid earned 250 total points
ID: 18855709
In the CellChange event you can use the text property of the cell to determine the latest value of checkbox because the value property is not updated at once whereas the text value is.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question