Solved

Infragistics UltraGrid AfterCellUpdate Event

Posted on 2007-04-03
4
9,280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
Suggested Courses
Course of the Month5 days, 1 hour left to enroll

635 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