ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
ParamQuery Pro Evaluation Support
»
format zero as empty string
« previous
next »
Print
Pages: [
1
]
Author
Topic: format zero as empty string (Read 88 times)
scoular
Pro Ultimate
Newbie
Posts: 5
format zero as empty string
«
on:
December 11, 2024, 03:36:14 pm »
I have a colModel with datatype integer. I just want to display zero as empty string instead of zero. format: "#" doesn't work and I have tried other things including using a function for format.
Logged
paramvir
Administrator
Hero Member
Posts: 6323
Re: format zero as empty string
«
Reply #1 on:
December 11, 2024, 03:48:45 pm »
In new version 10.x, you may use use the excel format #;#; to display 0 as empty string where first part # is for +ve numbers, 2nd part # is for -ve numbers, 3rd part is for 0.
You may try it out in this example:
https://paramquery.com/pro/demos/format_number
, you can enter the format from the toolbar button.
In colModel, it would be
Code:
[Select]
format: "#;#;"
«
Last Edit: December 11, 2024, 03:50:37 pm by paramvir
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
ParamQuery Pro Evaluation Support
»
format zero as empty string