:: Forum >>

AW.UI.Input format

This does not seem to work for AW.UI.Input
I was expecting to fill in a date in ISO 8601 format and see it in "dd/mm/yyyy hh:mm" format. It works great for Grid.

var date = new AW.Formats.Date;
date.setDataFormat("ISO8601");
date.setTextFormat("dd/mm/yyyy hh:mm");
var dt1= "2009-03-01T10:30Z+02";
var i1 = new AW.UI.Input;
i1.setId("input1");
i1.setControlFormat(date);
i1.setControlValue(dt1);
i1.refresh();

Anything wrong?
Philippe Marzin
Wednesday, March 4, 2009

This topic is archived.


Back to support forum

Forum search