Results 1 to 2 of 2

Thread: null value of types Integer and Float accepted by a grid

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default null value of types Integer and Float accepted by a grid

    Hello,

    I have a grid with fields of types Float and Integer ( in Java) because i need to put null value in these fields, but when i add new record to this grid with null value of some fields, the new record is saved in the database but i cannot see it in the grid. I think the problem is that fields in grid don't accept null value of types Float and Integer ( not int and float).Anybody can give me any suggestion???

    Thanks in advance,
    Best regards.

  2. #2
    Sencha User
    Join Date
    Dec 2009
    Location
    Enschede, The Netherlands
    Posts
    327
    Answers
    16
    Vote Rating
    14
      0  

    Default

    I have been using null values and not have seen issues. Especially not on other fields than those that are null.

    Have you checked that they are actually being returned from the server? Have you checked whether they do end up in the Store? Is it really just the grid not displaying them?

    For more help I think you should provide at least (preferably ready to drop in Ext.onReady()) your Store, Model, Proxy, Grid and server response. That way someone else can reproduce the issue and get more specific

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
  •