Date Template Format 2.0b3

Is there anykind of way that I could use to set my (date) format in (date) cell template?
April 13,
Yes, using AW.Formats.Date class -

var date = new AW.Formats.Date;
    date.setTextFormat("dddd, dd-mmm-yy");

    var obj = new AW.UI.Grid;
    obj.setCellFormat(date, 1);


Alex (ActiveWidgets)
April 13,
you didn't understand my question....
The problem is that I want to set my COlumn Format inside the template class..
so it would be initialized when template class is created...
April 13,
Standard templates just request the text assuming that it is 'ready for display' and all necessary transformations are already done in the data model (value-to-text).

However you can build your own template which requests value instead and does value-to-text transformation in the template.
Alex (ActiveWidgets)
April 13,

This topic is archived.

See also:

Back to support forum