3.2.0

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
December 2,
Does that only happen with the percent format?
Anthony
December 2,
No all formats are lost
sbauch
December 3,

This topic is archived.

See also:


Back to support forum