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).
nullvar data = format.valueToData(value);
value (string/number/date) - cell value
data string in the datasource format
var date = new AW.Formats.Date;
var value = 1084834800000; // May 18, 2004
var data = date.valueToData(value);
AW.System.Format methods: valueToText
Formatting classes: number, string, html, date
Grid cell properties: text, value, data, format