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

CurrentCellMoving

Thread ID:

Created:

Updated:

Platform:

Replies:

35477 Sep 30,2005 06:08 PM UTC Oct 1,2005 03:41 AM UTC Windows Forms 1
loading
Tags: GridControl
Madhavi Balusu
Asked On September 30, 2005 06:08 PM UTC

Hi, I have a grid with GridTextBoxCellRenderer. I want my OnSaveChanges to be called everytime focus changes between the cells within the grid or when the focus goes out of the grid irrespective of the cells changed or not. How do I do this? The way I was doing this was using grid_Leave and grid_CurrentCellMoving calls. But for some reason, I get a ''rowIndex'' OutofBoundsException with this trace dump ( but when i do a watch in CurrentCellMoving everything seems legal): Parameter name: rowIndex at Syncfusion.Collections.SFTable.set_Item(Int32 rowIndex, Int32 colIndex, Object value)

Administrator [Syncfusion]
Replied On October 1, 2005 03:41 AM UTC

Try handling the CurrentCellMoved event. There, set this.grid.CurrentCell.IsModified = true. This should force the current cell to be saved whether or not there was a change.

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

;