3.2.0

date sorting....

perhaps im being dense here but I have searched the forum and read several posts on date formatting and sorting and I still cannot get it to work. My data displays fine, what would i need to do if columns 1 & 2 contain dates? Thanks in advance

var table = new Active.XML.Table;
table.setURL("/xmlfile.xml");
table.request();
var obj = new Active.Controls.Grid;
var cols = ["","Date Created", "Date Modified","Title","Category","Creator"];
obj.setColumnProperty("text", function(i){return cols[i]});
obj.setProperty("column/count",6);
obj.setModel("data", table);
document.write(obj);
Kevin
August 26,
please help, urgent that i get date sort working!
Kevin
August 26,

This topic is archived.

See also:


Back to support forum