22 Feb 2012 8:54 AM #1
Unanswered: DataView deffered instantiation inline
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 #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What is a sample data look like?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.
23 Feb 2012 1:41 AM #3Code:
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 - div showing bP div showing bP ...
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.