将Sheet.as 中的 setCell方法改为
public function setCell(row:uint, col:uint, value:*):void {
if(!(_values[row][col] is Cell)) {
_values[row][col] = new Cell();
}
if(value is Formula) {
(_values[row][col] as Cell).formula = value;
} else {
if(Number(value))
(_values[row][col] as Cell).value = String.fromCharCode(30) + value ;
else
(_values[row][col] as Cell).value = value;
}
}
String.fromCharCode(30) 这个方法是论坛里看到的,可惜只有“(char) 30”一句。
这个char30是个什么样的控制字符?