-
22 Feb 2012 8:54 AM #1
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.
-
22 Feb 2012 12:57 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
What is a sample data look like?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Feb 2012 1:41 AM #3
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 likeCode:array (base items) of [ bP:Array sp-Array s1-String s2-String s3-String ]
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.


Reply With Quote