欢迎来到天天文库
浏览记录
ID:42605507
大小:207.78 KB
页数:29页
时间:2019-09-18
《ExtJs+Dwr带分页分组传参后台排序功能的grid》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ExtJs+Dwr带分页分组传参后台排序功能的grid主要包含:这个主要用到ExtJS+DWR+Spring+Hibernate,主要包括浏览页(usernamerecord.jsp),脚步文件(usernamerecord.js),dwr分页代理脚本文件(dwrproxy.js),实体类(Record.java),Dao接口(RecordDao),Dao类(RecordDaoImpl),Service类(RecordServiceImpl),Service接口(RecordService),分页类(
2、ListRange.java),dwr自带(engine.js),ext自带(ext-all.js,ext-base.js,ext-all.css),(分页底部工具栏)PagingToolbar.js显示结果:usernamerecord.jsp页面<%@pagelanguage="java"import="java.util.*"pageEncoding="gbk"%><%Stringpath=request.getContextPath();StringbasePath=request.getSc
3、heme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
4、t="no-cache">5、ef="ext-2.2.1/resources/css/ext-all.css"/>6、gine.js"><<7、d.js"> usernamerecord.js文件varwait;vartotalcost;varsize;Ext.onReady(function(){waiting();Ext.BLANK_IMAGE_URL="ext-2.2.1/resources/images/default/s.gif";varstart=0;varpageSize=18;varsm=newExt.grid.CheckboxSelectionModel8、();varcm=newExt.grid.ColumnModel([newExt.grid.RowNumberer(),sm,{header:'编号',dataIndex:'recordid',sortable:true},{header:'用户编号',sortable:true,dataIndex:'userid'},{header:'用户名',sortable:true,dataIndex:'username',width:150},{header:
5、ef="ext-2.2.1/resources/css/ext-all.css"/>6、gine.js"><<7、d.js"> usernamerecord.js文件varwait;vartotalcost;varsize;Ext.onReady(function(){waiting();Ext.BLANK_IMAGE_URL="ext-2.2.1/resources/images/default/s.gif";varstart=0;varpageSize=18;varsm=newExt.grid.CheckboxSelectionModel8、();varcm=newExt.grid.ColumnModel([newExt.grid.RowNumberer(),sm,{header:'编号',dataIndex:'recordid',sortable:true},{header:'用户编号',sortable:true,dataIndex:'userid'},{header:'用户名',sortable:true,dataIndex:'username',width:150},{header:
6、gine.js"><<7、d.js"> usernamerecord.js文件varwait;vartotalcost;varsize;Ext.onReady(function(){waiting();Ext.BLANK_IMAGE_URL="ext-2.2.1/resources/images/default/s.gif";varstart=0;varpageSize=18;varsm=newExt.grid.CheckboxSelectionModel
7、d.js">
8、();varcm=newExt.grid.ColumnModel([newExt.grid.RowNumberer(),sm,{header:'编号',dataIndex:'recordid',sortable:true},{header:'用户编号',sortable:true,dataIndex:'userid'},{header:'用户名',sortable:true,dataIndex:'username',width:150},{header:
此文档下载收益归作者所有