Results 1 to 2 of 2

Thread: Model field Definitions

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1395 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
      0  

    Default Model field Definitions

    There is no way to add the 'convert' property to a field definition.

    Essentially to create a virtual or calculated field the convert property is required, this is not available and cannot be added via the Component Config 'Add' function as this only add string values not function references or closures.

  2. #2
    Sencha User dfoelber's Avatar
    Join Date
    Sep 2011
    Location
    Rockville, MD
    Posts
    96
    Vote Rating
    12
      0  

    Default

    Hi,

    In the next update, you will be able to add a convert function to Ext.data.Field via a configuration.
    David Foelber
    @davidfoelber
    Sencha Architect Development Team

Posting Permissions

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