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
270
FormatInfo for Rows instead of Columns
posted

Hello,

The UltraGridColumn has a property FormatInfo that is useful for applying formatting on a column by column basis.  Would it be possible to add a property to UltraGridRow for FormatInfo so formatting can be done on a row by row basis?

Thanks for the help.

  • 37774
    Verified Answer
    posted

    This can't really be accomplished on the row level because a row does not have any concept of a data type, while the column does.  If you need to set individual cell formats, however, you could certainly use a separate editor (i.e. UltraNumericEditor), set the Format property of that control, then apply it as the EditorControl of individual cells in the InitializeRow event.  This will override anything that is set on the column level.

    -Matt