Can anyone please tell me a way or a function to use for validating whether or not the user have selected all the checkbox inside the ultragrid or not?
For example: If user clicked all the checkbox inside the ultragrid, is there a function that I can use to validate this action by user right away?
I tried the following functions already, but those are not exactly what I am looking for:
- CellChange ( The ultragrid checking function for checkbox status is not updated in the active cell)
- AfterCellUpdate ( it need to exit the cell, not suitable)
Anyone have an idea?
Hello,
Thank you for your feedback and for sharing this with us. We believe that the other community members could benefit from such threads.
Please feel free to let me know if a question about our toolset comes up on your mind.
I find out what I did wrong:) Checkbox inside UltraWinGrid will not be updated until the user have leave the grid table(or maybe the checkbox itself), at least this happen to my case. So what I did instead is I apply the following code:
ultraWinGrid.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.ExitEditMode);
ultraWinGrid.UpdateData();
Hope this will help others as well~ Happy Coding!
Hello ryanfung,
Could you please try to change your scenario according to the following forum thread and try again with the 'CellChange' event:
http://blogs.infragistics.com/forums/t/24421.aspx
Please do not hesitate to contact me if you need any additional assistance.