Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
[UltraWinGrid] Checkbox Validation inside gridtable [Solved]
posted

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?

Parents
  • 60
    Suggested Answer
    posted

    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!

Reply Children
No Data