Sep 13, 2011, 3:25 PM
how to use the property in column RenderFormat nl2br GridPanel
how to use the property in column RenderFormat nl2br GridPanel
source code renderformat.cs
source code renderformat.cs
Nl2br,
/// <summary>
/// Formats the number according to the format string.
/// examples (123456.789):
/// 0 - (123456) show only digits, no precision
/// 0.00 - (123456.78) show only digits, 2 precision
/// 0.0000 - (123456.7890) show only digits, 4 precision
/// 0,000 - (123,456) show comma and digits, no precision
/// 0,000.00 - (123,456.78) show comma and digits, 2 precision
/// 0,0.00 - (123,456.78) shortcut method, show comma and digits, 2 precision
/// To reverse the grouping (,) and decimal (.) for international numbers, add /i to the end. For example: 0.000,00/i
/// </summary>
My source code: Renderer r = new Renderer();
r.Format = Ext.Net.RendererFormat.Nl2br;
this.GridMovDep.ColumnModel.SetRenderer(1, r);
Where should I apply formatting properties to get the value of a cell as follows: 1.500,10
Last edited by danilo; Sep 14, 2011 at 1:41 PM.