View Full Version : [FIXED]Ext.data.Store documentation consistency issue

17 Feb 2011, 11:04 AM
In Ext.data.Store documentation we have:

getAt( Number index ) : Ext.data.Model
Get the Record at the specified index.
index : Number
The index of the Record to find.
Ext.data.Model The Record at the passed index. Returns undefined if not found.


getById( String id ) : Ext.data.Record
Get the Record with the specified id.
id : String
The id of the Record to find.
Ext.data.Record The Record with the passed id. Returns undefined if not found.

I think both methods are ment to return the same type... Having Record in one place and Model in the other can create confusion for some people.

17 Feb 2011, 11:10 AM
Also, there's an issue with the forum, "Preview Post" doesn't work as it should, at least on Chrome 9/OS X it simply publishes the post. Sorry to put that here but I didn't know where else to report.

17 Feb 2011, 7:54 PM
The docs have been updated, thanks.