:: Documentation >>

valueToData

Converts the value to the datasource format. This method may be used internally by the grid control to produce the cell data from the cell value property (after the cell value is modified).

null

Syntax

var data = format.valueToData(value);

Parameters

value (string/number/date) - cell value

Returns

data string in the datasource format

Examples

var date = new AW.Formats.Date;
var value = 1084834800000; // May 18, 2004
var data = date.valueToData(value);

See also

AW.System.Format methods: valueToText
Formatting classes: number, string, html, date
Grid cell properties: text, value, data, format

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5