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
145
IDataErrorInfo Notifications
posted

We have IDataErrorInfo notification set up and working for individual cells within our grid. However, we have encountered one small problem. Rather than using the built-in AddNewRow of the UltraGrid, we have a button outside the grid that enables the user to add rows. Before allowing an add, we ensure that the currently edited row, if any, is valid by calling Update() and checking that its return status is true. This triggers validation and would normally result in the appropriate error notification icons being displayed in each cell. In our case, the icons do not appear until the user hovers their mouse cursor over each erroneous cell, apparently because the row is not "focused" when the create button is clicked. Is there anyway to manually tell UltraGrid to display all error notifications for a given row? The behavior of needing the user to hover over the cells to know they caused errors is confusing!

Parents Reply Children
No Data