ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: hyh888 on June 12, 2023, 01:44:46 pm

Title: The comma in format "#,###" make json object in trouble
Post by: hyh888 on June 12, 2023, 01:44:46 pm
When I use  format "#,###" , it makes json object in trouble in browser. I think many users should have suffered for it.
Here is the code:
let gridColModel= [

{   "title": "production",
    "dataIndx": "actualProdTon",
    "width": "100",
    "dataType": "float",
    "format": "#,###"
}

];
Title: Re: The comma in format "#,###" make json object in trouble
Post by: hyh888 on June 26, 2023, 06:25:37 am
For the template engine in my program regards "###" as comment symbol, so the js program was disabled partially.
Is there any other way to repalce format "#,###"?