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
40
WinGrid which even for updating Cell based on another changed cell value
posted

I have an updatable WinGrid with a dataset as datasource.

WinGrid.UpdateMode is set to OnRowChangeOrLostFocus

For ItemID and ItemDescription tyles are set to DropDownValidate and ValueList is taken from two different UltraCombo's (user is able to select only values from drop down)

I wouldl like to cover following scenario:

If user changed ItemID then I need to change ItemDescription programmatically.

If user changed ItemDescription then I need to change ItemID programmatically.

My code (for changing value in other cell) have to be executed only once (not on every keyboard stroke) and only if user changed value either in ItemID or ItemDescription but before any other cell changes and before changes from WinGrid will be submitted to datasource.

Which event will the best choice for that?

Parents Reply Children
No Data