发布于 2016-12-18 05:14:09 | 184 次阅读 | 评论: 0 | 来源: 网友投递
			ExtJS Javascript库
ExtJS是一种主要用于创建前端用户界面,是一个基本与后台技术无关的前端ajax框架。		
 
DocStore = Ext.extend(Ext.data.Store,{ 
initComponent:function(){ 
this.proxy = new Ext.data.HttpProxy({url:this.url}); 
this.reader = new Ext.data.JsonReader( 
{ 
totalProperty: 'results', 
root: 'rows', 
id:'docid', 
fields: ['docid', 'extention','docname', 'author', 'sizes', 'datecreated'] 
} 
); 
this.sortInfo = { field: 'datecreated', direction: 'DESC' }; 
this.remoteSort = false; 
DocStore.superclass.initComponent.call(this); 
} 
});