Wijmo UI for the Web
dataFormatString Field
wijmo.grid Namespace > IC1FieldOptions Interface : dataFormatString Field

A pattern used for formatting and parsing column values.

Syntax
var instance; // Type: wijmo.grid.IC1FieldOptions;
var value; // Type: string
value = instance.dataFormatString;
var dataFormatString : string;
Example
$("#element").wijgrid({
    columns: [
        { dataType: "currency" }, 
        { dataType: "number" }, 
        { dataType: "number", dataFormatString: "p0" }
    ]
});
Remarks

The default value is undefined, with a specific pattern used for each data type, and each reflecting the current or specified culture. The examples of these default patterns assume a culture setting of en-US:

Please see the Formatting Strings topic for a full explanation and additional values.

See Also

Reference

IC1FieldOptions Interface

Concepts

Formatting Strings