var instance; // Type: wijmo.grid.IC1FieldOptions; var value; // Type: string value = instance.dataFormatString;
var dataFormatString : string;
A pattern used for formatting and parsing column values.
var instance; // Type: wijmo.grid.IC1FieldOptions; var value; // Type: string value = instance.dataFormatString;
var dataFormatString : string;
$("#element").wijgrid({ columns: [ { dataType: "currency" }, { dataType: "number" }, { dataType: "number", dataFormatString: "p0" } ] });
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.