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
    markofsine is on a distinguished road

      0  

    Default Model field Definitions

    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 - Architect Dev Team dfoelber's Avatar
    Join Date
    Sep 2011
    Location
    Rockville, MD
    Posts
    96
    Vote Rating
    12
    dfoelber will become famous soon enough

      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

Thread Participants: 1