:: Forum >>

Cell Loses format after editing

I downloaded the trial today and this is an amazing product. I have gotten further today in just 5 hours than I have all week attempting to use asp.net grids.

The only problem I have run into so far is that I applied formatting to columns uising the following code:

var ccy = new AW.Formats.Number;
ccy.setTextFormat("$#,###.##");
var WholeNumber = new AW.Formats.Number;
WholeNumber.setTextFormat("#,###.");
var percent = new AW.Formats.Number;
percent.setTextFormat("#,###.##%");

grid.setCellFormat(WholeNumber, 5);
grid.setCellFormat(WholeNumber, 6);
grid.setCellFormat(WholeNumber, 7);
grid.setCellFormat(percent, 8);

which works great. But when I edit the percent formatted fields, after the edit the format is lost. Is there a way I can keep the format or reapply the format to that cell.

Thank you for any help you can provide. This forum has helped answer all of my questions, but I could not find a topic on this. Sorry if this is a repost.
sbauch
Tuesday, December 2, 2008
Does that only happen with the percent format?
Anthony
Tuesday, December 2, 2008
No all formats are lost
sbauch
Wednesday, December 3, 2008

This topic is archived.


Back to support forum

Forum search