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
130
Based in input into one UltraGridCell, make another UltraGridCell required
posted

I have an UltraGridCell set up to receive a Boolean value.

Based on the Boolean value, I'd like to set the state of another UltraGridCell to be a required - or not.

That's to say, I'd like to set the Required attribute of an UltraGridCell conditionally.

I believe I'm using an older version of the software,  a base DLL is marked as:

  • Infragistics4.Win.v14.1.dll (14.1.20141.2059)

Thank you.

Parents
No Data
Reply
  • 34850
    Offline posted

    Hello Bill,

    I have been investigating into your requirement and in order to achieve this I would recommend using the DataErrorInfo feature of the UltraGrid, not to be confused with the IDataErrorInfo interface, although that may be an option for you as well. This feature allows you to set “column errors” for specific rows, essentially allowing you to set cell-specific error validation. You can read about utilizing this feature here.

    I hope this helps you. Please let me know if you have any other questions or concerns on this matter.

Children