Results 1 to 4 of 4

Thread: [pr4] ListItem

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Brazil
    Posts
    106
    Vote Rating
    0
      0  

    Default Unanswered: [pr4] ListItem

    in pr3 i was using the extend: 'Ext.dataview.ListItem', now in pr4 what should i use?

    error in pr4
    Code:
    Error: [Ext.Loader] Failed loading './dataview/ListItem.js', please verify that the file exists

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    1
      0  

    Default Kinda same error

    I'm getting kinda the same error:
    Code:
    Error: [Ext.Loader] Failed loading './dataview/ComponentView.js', please verify that the file exists
    I extend 'Ext.dataview.List'.

    I'm using the sencha-touch-all-debug-w-comments.js file.

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,159
    Answers
    93
    Vote Rating
    7
      0  

    Default

    You should:

    - Extend Ext.DataView
    - set useComponents to true
    - Extend Ext.dataview.component.DataItem and set that component as the defaultType in your DataView.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

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

    Default

    Quote Originally Posted by Nikkelmann View Post
    I'm getting kinda the same error:
    Code:
    Error: [Ext.Loader] Failed loading './dataview/ComponentView.js', please verify that the file exists
    I extend 'Ext.dataview.List'.

    I'm using the sencha-touch-all-debug-w-comments.js file.
    I would use the sencha-touch-all-debug.js file over the -w-comments version. it's much lighter weight and your debug tool will behave better.

Posting Permissions

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