Results 1 to 5 of 5

Thread: MixedCollection items

  1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      0  

    Default MixedCollection items

    Any chance the items property could be promoted as a public property for MixedCollection? I've seen it used quite a lot in example code on the forums, but I'm always nervy about using stuff that's not promoted as a public element in the API (have seen some go the way of the dinosaur before).

    *I'd put in a feature request in the feature request forum, but it looks like my support is lapsed and our procurement is dragging their feet on renewing me.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

    This for Ext JS 4 or ST 2?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      0  

    Default

    Oh, sorry. Actually, both. It looks like both set up me.items = [] in the AbstractMixedCollection constructor.
    Would be helpful to have that items array accessible as a public property in both ST and ExtJS both.

  4. #4
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    items has existed since 2.0.

    Unless there is a *huge* rearchitecture, i wouldn't worry about it going away.

  5. #5
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      0  

    Default

    Cool. Fair enough. Consider my appeal withdrawn.

Posting Permissions

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