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
945
UtraGrid Validation
posted

 I have a grid with one of the columns column style being DropDownValidate. Is there a way to trigger a validation on the grid/cells after the grid has been loaded and let's say try to close the form containgin the grid without ever steping on any of the cells with DropDownValidate style? 

Thanks! 

  • 469350
    Verified Answer
    Offline posted

    There's no way to do this automatically. The validation you are referring to here validates user entry and display a message to the user and potentially keeps them from leaving the cell. That wouldn't really make sense if the focus is not in the cell. 

    One thing you can do is use the IsInList method to determine if the value of the cell exists on the list. You would have to loop through each cell individually in code, of course.