1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    255
    Answers
    6
    Vote Rating
    2
    landed is on a distinguished road

      0  

    Default Unanswered: DataView deffered instantiation inline

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What is a sample data look like?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 User
    Join Date
    Feb 2012
    Posts
    255
    Answers
    6
    Vote Rating
    2
    landed is on a distinguished road

      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.

Thread Participants: 1