Jul 05, 2015, 10:17 AM
[CLOSED] Percent Format and decimal digits
Inside a gridpanel I have a
I would like to render that values as percent.
I tried:
I tried:
Is there a better way that define a javascript function inside the renderer object?
In case there isn't, I suggest you to add a
I don't have found documentation on the Renderer use, if you have any sample it would be appreciated.
Thank you very much
Ext.Net.Column
with values like 0,125 (comma is my culture's decimal separator - Italian) .I would like to render that values as percent.
I tried:
col = New Column With {.Renderer = New Renderer With {.Format = RendererFormat.Percent, .FormatArgs = {"0"}}}
Result: 13%I tried:
col = New NumberColumn With {.Format = "0.00%"}
Result: 0,12%Is there a better way that define a javascript function inside the renderer object?
.Renderer = New Renderer With {.Fn = "function(s) ...
Result needed is: 12,5%In case there isn't, I suggest you to add a
DecimalDigits
property inside Ext.Net.Renderer
object; I feel this very useful and quick to use.I don't have found documentation on the Renderer use, if you have any sample it would be appreciated.
Thank you very much
Last edited by Daniil; Jul 06, 2015 at 3:36 PM.
Reason: [CLOSED]