WinUI | ComponentOne
Controls / FlexGrid / Column / Editors / Numeric
In This Topic
    Numeric
    In This Topic

    FlexGrid, by default, uses the numeric editor to edit the numeric data, that is, when the data type is set to any of the numeric types such as Int and Decimal.

    Format numeric cell

    To format the data in a numeric cell, FlexGrid provides the Format property of Column as well as Row object. In case of the formats that support decimal values such as numeric, currency and exponential, FlexGrid displays values up to two decimal places by default.

    C#
    Copy Code
    // Format Numeric Cell: Supported
    flexGrid1.Columns["OrderTotal"].Format = "c2";