Wijmo UI for the Web
dataFormatString Field

A pattern used for formatting and parsing column values.

Syntax
Javascript (Usage) 
var value; // Type: string
value = jQuery.wijmo.c1field.options.dataFormatString;
Javascript (Specification) 
var dataFormatString : string;
Example
$("#element").wijgrid({
    columns: [
        { dataType: "currency" }, 
        { dataType: "number" }, 
        { dataType: "number", dataFormatString: "p0" }
    ]
});
Remarks
The default value is undefined ("n" pattern will be used for "number" dataType, "d" for "datetime", "c" for "currency"). Please see the https://github.com/jquery/globalize for a full explanation and additional values.
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.