how can I customize the rendering of a column GridPanel?

  1. #1

    how to use the property in column RenderFormat nl2br GridPanel

    how to use the property in column RenderFormat nl2br GridPanel

    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.

Similar Threads

  1. [CLOSED] How do I customize the menu in column header of gridpanel
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 22, 2011, 11:13 AM
  2. Replies: 12
    Last Post: Jun 05, 2011, 8:08 PM
  3. Replies: 2
    Last Post: Jun 01, 2011, 8:12 AM
  4. [CLOSED] Gridpanel second Column data Rendering a Jiberish
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 01, 2010, 5:35 PM
  5. Replies: 3
    Last Post: May 09, 2009, 12:15 PM

Tags for this Thread

Posting Permissions