Results 1 to 2 of 2

Thread: Ext.data.Model type "int" or "integer" ?

  1. #1
    Sencha User
    Join Date
    Feb 2010
    Location
    Figueres (Spain)
    Posts
    368
    Answers
    15
    Vote Rating
    5
      0  

    Default Ext.data.Model type "int" or "integer" ?

    In Ext.data.Model definition for an integer value i have to set type to "int" or "integer" ?

    Code:
            fields: [
                { name: 'id_Calendario',             type: 'int' },
    .....
    Code:
            fields: [
                { name: 'id_Calendario',             type: 'integer' },
    .....
    -------------------
    Manel Juarez

  2. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,100
    Answers
    113
    Vote Rating
    100
      0  

    Default

    Both would work the same way. According to API Documentation, INT and INTEGER are synonymous:

    http://docs.sencha.com/ext-js/4-1/#!...s-property-INT

Posting Permissions

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