0
我的jqgrid中的單元格的一次格式爲貨幣格式化爲 formatoptions:{decimalSeparator:「。」,thousandsSeparator:「,」,decimalPlaces: 2,前綴:「$」,默認值:「」}保持貨幣格式化JQgrid單元格爲空,沒有默認值,如果沒有返回值
出現這種情況時,我有它 但在情況下,我沒有一個值,特定領域的網格在默認情況下需要值$ 0.00 我想保留它爲空而不是填充默認值,即$ 0.00
我該怎麼做? 找了一些問題後,我用自定義格式
if (cellValue != 0.00)
{
return $.fmatter.util.NumberFormat(closingAmount, $.jgrid.formatter.currency);
}
else
{
return "";
}
在這種情況下,我怎麼能添加
$爲前綴
去?並在這個領域的課程排序不起作用。 期待快速幫助和解決某人 在此先感謝!
http://stackoverflow.com/questions/27365779/jqgrid-showcol-hidecol-not-working-after-sorting[link] 你能幫助我嗎? @Oleg – 2014-12-09 17:49:13