Results 1 to 3 of 3

Thread: problem in showing float type columns

  1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    66

    Default problem in showing float type columns

    Hello,

    Each cell in the grid is in the form of JSON object.
    for example {value="1000.23"}

    When i configure the type as 'float'.
    The column is showing empty

    Please comment

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Because you're sending back strings, not numbers.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Also, that example is not actually JSON. Don't know if that's what you are sending.

    But it could be anything. An incorrect dataIndex in the ColumnModel. We can't say.

Similar Threads

  1. form getValues() not return float type value of NumericField
    By fangzhouxing in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 20 May 2009, 2:10 PM
  2. float:left/ float: right custom css
    By Podlipensky in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 17 May 2009, 6:59 PM
  3. float conversion problem
    By sseema in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 3 Nov 2008, 10:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •