[CLOSED] Decimal point values in Grid panel

  1. #1

    [CLOSED] Decimal point values in Grid panel

    Grid panel Model Field with the type float was not displaying decimal point values if there is no value e.g if my value is $ 30.50 it displays the value as $ 30.5 and if it is $ 28.00 it displays as $ 28, kindly suggest me some solution.
    Last edited by Dimitris; Feb 10, 2015 at 3:33 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please, use a NumberColumn instead of a Column in your ColumnModel for the model field of type float. it will automatically take care of your requirement.

    If, for some reason, the above suggestion does not work or you need another option (a custom renderer, for example) please do provide us with a simple code example to work with.

    Hope it helps.
    Last edited by Dimitris; Feb 06, 2015 at 3:34 PM.
  3. #3
    It worked, thank you Dimitris

Similar Threads

  1. [CLOSED] How to get textfields values from grid panel
    By alscg in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 16, 2013, 5:44 AM
  2. [CLOSED] hide decimal values on chart markers
    By RCM in forum 2.x Legacy Premium Help
    Replies: 11
    Last Post: Jan 30, 2013, 4:24 PM
  3. How to get values from grid panel selected row
    By mehmood in forum 1.x Help
    Replies: 9
    Last Post: Apr 11, 2012, 12:09 PM
  4. [CLOSED] GMAP set values from a grid panel
    By eaglemobile in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Dec 08, 2011, 12:59 AM
  5. Replies: 0
    Last Post: Feb 08, 2011, 8:45 AM

Tags for this Thread

Posting Permissions