3.2.0

Looses number format after cell change.

I have a grid that when I change the contents of a cell, it looses the number formate (#,##.). Not sure, but when it goes out and updates the database, it comes back with the no formatting. I am running the trial version right now, so that might have something to do with it. I use the following code:

var number = new AW.Formats.Number;
number.setTextFormat("#,###.##");
var string = new AW.Formats.String;
obj.setCellFormat(number);

obj.setCellFormat([string,number]);

Everything looks good until I change a number. This also happens on the examples found on this website. Any ideas?

Lance
October 29,
Try :

obj.onCellValidated = function(text,col,row){
this.setCellData(text,col, row);
}
October 29,

This topic is archived.

See also:


Back to support forum