Solved

Infragistics UltraGrid AfterCellUpdate Event

Posted on 2007-04-03
4
9,031 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
Comment Utility
Have you tried Event BeforeCellUpdate or Event CellChange?
0
 

Author Comment

by:ccravenbartle
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now