AD
Administrator
Syncfusion Team
June 7, 2005 09:20 AM UTC
CurrentCellValidate is only raised when you change the CurrentCell via the UI. If you make a change through code, CurrentCellValidate will not be hit unless you interact with the currentcell like it is being edited from the UI:
call grid.CurrentCell.MoveTo, call grid.CurrentCell.BeginEdit
set the new value in grid.CurrentCell.Renderer.ConTrolText
set grid.CurrentCell.IsModified = true
call grid.CurrentCell.ConfirmChanges.
Code changes should raise the grid.Model.SaveCellInfo event though. Can you use that event for your needs?
SH
Steven Hawkes
June 13, 2005 01:20 PM UTC
Thanks, this worked fine.
Cheers
>CurrentCellValidate is only raised when you change the CurrentCell via the UI. If you make a change through code, CurrentCellValidate will not be hit unless you interact with the currentcell like it is being edited from the UI:
>
>call grid.CurrentCell.MoveTo, call grid.CurrentCell.BeginEdit
>set the new value in grid.CurrentCell.Renderer.ConTrolText
>set grid.CurrentCell.IsModified = true
>call grid.CurrentCell.ConfirmChanges.
>
>Code changes should raise the grid.Model.SaveCellInfo event though. Can you use that event for your needs?