How to change the format of a cell in a table
How can I change the format of a date tht is in a AW.XML.Table?
I read documentation about it, but only I have found information about date format in a grid , how can I apply date format in a table field.
I try this:
var tabla = new AW.XML.Table;
CrearTabla(); //function that creates a table
var string = new AW.Formats.String;
var number = new AW.Formats.Number;
var date = new AW.Formats.Date;
date.setTextFormat("DD-MM-YYYY hh:mm:ss");
tabla.setCellFormat([number,number,date,date,number,string]);
Now, my table has the following format ("YYYY-MM-DDThh:mm:ss") in the fields of date, and I need this format ("DD-MM-YYYY hh:mm:ss") in a field of the table
I read documentation about it, but only I have found information about date format in a grid , how can I apply date format in a table field.
I try this:
var tabla = new AW.XML.Table;
CrearTabla(); //function that creates a table
var string = new AW.Formats.String;
var number = new AW.Formats.Number;
var date = new AW.Formats.Date;
date.setTextFormat("DD-MM-YYYY hh:mm:ss");
tabla.setCellFormat([number,number,date,date,number,string]);
Now, my table has the following format ("YYYY-MM-DDThh:mm:ss") in the fields of date, and I need this format ("DD-MM-YYYY hh:mm:ss") in a field of the table
Tecnora
May 16,