Results 1 to 2 of 2

Thread: Documentation bug in Ext.data.Store.getData(): wrong return type

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-15244 in 5.1.1.
  1. #1
    Sencha Premium User
    Join Date
    Nov 2013
    Location
    Piacenza, Italy
    Posts
    220

    Default Documentation bug in Ext.data.Store.getData(): wrong return type

    Ext version tested:
    • Ext 5.0.1.1255

    The documentation of Ext.data.Store.getData() report that it returns an Array of Object or of Ext.data.Model, while at runtime you get an Ext.util.Collection of Ext.data.Model.

    I don't know if the documention of Ext.data.Store.setData() has the same problem with the parameter or not (may be that the setData()/applyData() methods really need an Array).

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report! I have opened a Documentation bug in our bug tracker.

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
  •