An object with formatting functions.
Object
This object provides formatters for all widgets (especially in the grid). You can extend formatters with your custom formatters: w2utils.formatters['myFormatter'] = function (val, params) { return 'format: ' + val; } Below is the list of formatters that are already implemented:

- number
- float
- int
- money
- currency
- percent
- size
- date
- datetime
- time
- timestamp
- gmt
- age
- toggle

You can use them in grid when you define columns in the following way: $('#grid').w2grid({ name : 'grid', columns: [ { field: 'recid', caption: 'ID', size: '50px' }, { field: 'name', caption: 'Name', size: '30%' }, { field: 'email', caption: 'Email', size: '40%', render: 'myformatter'}, { field: 'sdate', caption: 'Start Date', size: '120px', render:'date' }, { field: 'sdate', caption: 'End Date', size: '120px', render:'date|dd/mm/yyyy' } ], }); Note that you can pass params after pipe (|).