3.0.0

Order by Date

I have problems to make the order per date. Grilla order by the day without taking into account the month.
Demián
July 7,
You have to set date format for this column -

var myText = [
  ["10-May-05"],
  ["2-Jun-06"],
  ["30-Aug-04"]
];

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

    var obj = new AW.UI.Grid;
    obj.setCellText(myText);
    obj.setCellFormat(date, 0);

    obj.setColumnCount(1);
    obj.setRowCount(3);

    document.write(obj);


Alex (ActiveWidgets)
July 9,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.