Results 1 to 3 of 3

Thread: DataView deffered instantiation inline

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    255
    Answers
    6
    Vote Rating
    2
      0  

    Default DataView deffered instantiation inline

    http://www.sencha.com/forum/showthre...e-and-dataview

    This is the kind of thing I am after doing. I have a custom component using a custom data source. If I have a custom data source that is not simply an array but a more complex object how can I get this to work. I cant even see if dataview supports xtype.

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

    Default

    What is a sample data look like?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    255
    Answers
    6
    Vote Rating
    2
      0  

    Question

    Code:
    array (base items) of 
    [
    bP:Array
    sp-Array
    s1-String
    s2-String
    s3-String
    ]
    So essentially its a bit like a nested list the list items I want to be ordered by groups defined by matching s1 s2 or s3 combinations , so I would want to filter like
    give me the list of items where s1='Group1"

    and each record will be like (so this could be my tpl html)

    baseitems[0] - div showing bP[0] div showing bP[1] ...

    But I'm struggling to get any kind of list working unless its using JSON but in this case I have that.
    I will try something today on this and report back. I am sure I need DataView.

Posting Permissions

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