:: Forum >>

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
Thursday, October 29, 2009
Try :

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

This topic is archived.


Back to support forum

Forum search