Sencha touch 开发;nestedlist以及getItemTextTpl 自定义显示
来源:互联网 发布:天津光线网络 编辑:程序博客网 时间:2024/06/05 13:41
{
xtype : 'nestedlist',
title : 'Blog',
iconCls : 'star',
cls : 'blog',
displayField : 'title',
store : {
type : 'tree',
fields : [ 'title', 'link', 'author',
'contentSnippet', 'content', {
name : 'leaf',
defaultValue : true
}
],
root : {
leaf : false
},
proxy : {
type : 'jsonp',
// url:
// 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://feeds.feedburner.com/SenchaBlog',
url : 'jsonp.txt',
reader : {
type : 'json',
rootProperty : 'responseData.feed.entries'
}
}
},
getItemTextTpl : function(node) {
},
xtype : 'nestedlist',
title : 'Blog',
iconCls : 'star',
cls : 'blog',
displayField : 'title',
store : {
type : 'tree',
fields : [ 'title', 'link', 'author',
'contentSnippet', 'content', {
name : 'leaf',
defaultValue : true
}
],
root : {
leaf : false
},
proxy : {
type : 'jsonp',
// url:
// 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://feeds.feedburner.com/SenchaBlog',
url : 'jsonp.txt',
reader : {
type : 'json',
rootProperty : 'responseData.feed.entries'
}
}
},
getItemTextTpl : function(node) {
return template = '<div><span>{title}</span></div>';
// getItemTextTpl : function(node) { //return template = '<div><span>{text}</span><tpl if="price > 0"> @ {price}</tpl></div>'; //},
},
- Sencha touch 开发;nestedlist以及getItemTextTpl 自定义显示
- Sencha touch 开发系列:容器组件:nestedList,navigationview
- Sencha Touch 自定义主题
- Sencha Touch 自定义图标
- sencha touch自定义messageBox
- Sencha Touch自定义NavigationView
- [Phonegap+Sencha Touch] 移动开发7、Sencha Touch图标的使用与自定义
- [Phonegap+Sencha Touch] 移动开发7、Sencha Touch图标的使用与自定义
- Sencha+touch+开发指南
- sencha touch 开发顺序
- Sencha Touch 开发入门
- sencha touch 访问自定义字段
- sencha touch自定义表单验证
- sencha touch自定义表单验证
- sencha architect开发sencha touch应用注意事项
- [Phonegap+Sencha Touch][转] 移动开发32 使sencha touch的store在离线状态下也能显示数据
- WebView开发日志 sencha touch
- Sencha touch 开发 start 1
- 场效应管的判别、检测及使用时的注意事项!
- MapFile和BloomMapFile文件
- 分形(factal)的基本概念
- struts2 DMI 不起作用的原因
- 使用FileZilla向linux系统上传文件
- Sencha touch 开发;nestedlist以及getItemTextTpl 自定义显示
- 华师 操作系统实验 实验二
- android之switch控件的用法
- hdu 1002
- (8) - 网络编程 (图)
- 没有无线路由器如何共享无线Wifi
- iOS中文网址路径转换URLEncode
- 51单片机(二):单片机内部定时/计数器和中断系统
- 使用Luceue.NET问题