on 08-25-2009 2:13 PM
I am using MII 12 and attempting to put a comma in a number format in an iGrid. However, when I use something like #,##0 it has no effect on the format of the number in the column. I know it is supposed to work, all the documentation points that way, but it doesn't. Is there a fix? What am I missing?
Thanks for your help.
Did you try removing the 0?
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. It is also strange that when I save the iGrid with the format then move to another view (like"Header" or "UI Behaviour" etc.) then return to the layout view the formatting reverts to a single # like it didn't save it at all.
Is this a Java client thing? I am using Java Version 1.5.0 (build 1.5.0_15-b04) on my client.
It could be a bug in the WB, I know it was reported but perhaps your version does not include the fix.
Since the ColumnFormats parameter is by nature a comma separated list it needs to encode the nested commas for thousands separators using ^^
Say you have two columns (ColA and ColB) and you want the thousand separator in ColA and just simple 2 decimals for ColB, the property would look like:
<PARAM NAME="ColumnFormats" VALUE="#^^##0.00,0.00">
It looks like the WB is not doing this, if it appears to save properly and then when you go back to the panel it chokes on the parsing. You may just need to override this in the html for the time being.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.