基于Prototype 1.6.2 框架下的数据分页

本例是基于Prototype的数据分页,能对行数,列数进行设置,列和行都是用表格进行布局,需要时根据自己的喜好进行修改。
页面导航类:

基于Prototype 1.6.2 框架下的数据分页varTNavigationBar=newClass.create();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页TNavigationBar.prototype
=基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页initialize:
function(_cssPath)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.viewObj=null;/**//*显示的位置*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.cssPath=_cssPath;/**//*导航样式路径*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.Bar=null;/**//*导航容器对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.Total=null;/**//*总数对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.PageNumber=null;/**//*页码对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.Arrow=null;/**//*导航符号对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.FirstPage=null;/**//*第一页对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.PrevPage=null;/**//*上一页对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.NextPage=null;/**//*下一页对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.Lastpage=null;/**//*最后一页对象*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.toPage=Prototype.emptyFunction;/**//*导航跳转页面过程*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页Common.loadCss(
this.cssPath);
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页init:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Title:
基于Prototype 1.6.2 框架下的数据分页{/**//*对象提示*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页First:
"第一页",/**//*第一页对象提示*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Prev:
"上一页",/**//*上一页对象提示*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Next:
"下一页",/**//*下一页对象提示*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Last:
"最后一页"/**//*最后一页对象提示*/
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Text:
基于Prototype 1.6.2 框架下的数据分页{/**//*导航文字*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页First:
"9",/**//*第一页对象文字*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Prev:
"7",/**//*上一页对象文字*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Next:
"8",/**//*下一页对象文字*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Last:
":"/**//*最后一页文字*/
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Template:
基于Prototype 1.6.2 框架下的数据分页{/**//*文字模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Total:
newTemplate("Total:#{Total}"),/**//*对象总数模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页PageNumber:
newTemplate("Pages:#{CurrentPage}/#{TotalPages}")/**//*页码模板*/
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Numberic:
基于Prototype 1.6.2 框架下的数据分页{/**//*导航所需要的数字*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Total:
0,/**//*对象总数*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页CurrentPage:
1,/**//*当前页*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页TotalPages:
0/**//*总页数*/
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页create:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
with(_this)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Bar
=newElement("DIV",基于Prototype 1.6.2 框架下的数据分页{className:"pages"});
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*对象总数*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Total
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{className:"count"}).update(Common.format(Template.Total,基于Prototype 1.6.2 框架下的数据分页{Total:Numberic.Total}));
基于Prototype 1.6.2 框架下的数据分页Bar.appendChild(Total);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*页码对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页PageNumber
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{className:"count"}).update(Common.format(Template.PageNumber,基于Prototype 1.6.2 框架下的数据分页{CurrentPage:Numberic.CurrentPage,TotalPages:Numberic.TotalPages}));
基于Prototype 1.6.2 框架下的数据分页Bar.appendChild(PageNumber);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*导航符号*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Arrow
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{className:"arrow"});
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页FirstPage
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{title:Title.First});
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(Numberic.CurrentPage-1<1)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页FirstPage.update(Text.First);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
else基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
varlinks=newElement("NOBR",基于Prototype 1.6.2 框架下的数据分页{className:"link"}).update(Text.First);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页links.observe(
"click",function()基于Prototype 1.6.2 框架下的数据分页{_this.toPage(1)});
基于Prototype 1.6.2 框架下的数据分页FirstPage.appendChild(links);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页Arrow.appendChild(FirstPage);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页PrevPage
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{title:Title.Prev});
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(Numberic.CurrentPage-1<1)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页PrevPage.update(Text.Prev);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
else基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
varlinks=newElement("NOBR",基于Prototype 1.6.2 框架下的数据分页{className:"link"}).update(Text.Prev);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页links.observe(
"click",function()基于Prototype 1.6.2 框架下的数据分页{_this.toPage(_this.Numberic.CurrentPage-1)});
基于Prototype 1.6.2 框架下的数据分页PrevPage.appendChild(links);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页Arrow.appendChild(PrevPage);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页NextPage
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{title:Title.Next});
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(Numberic.CurrentPage+1>Numberic.TotalPages)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页NextPage.update(Text.Next);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
else基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
varlinks=newElement("NOBR",基于Prototype 1.6.2 框架下的数据分页{className:"link"}).update(Text.Next);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页links.observe(
"click",function()基于Prototype 1.6.2 框架下的数据分页{_this.toPage(_this.Numberic.CurrentPage+1)});
基于Prototype 1.6.2 框架下的数据分页NextPage.appendChild(links);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页Arrow.appendChild(NextPage);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Lastpage
=newElement("SPAN",基于Prototype 1.6.2 框架下的数据分页{title:Title.Last});
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(Numberic.CurrentPage+1>Numberic.TotalPages)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Lastpage.update(Text.Last);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
else基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
varlinks=newElement("NOBR",基于Prototype 1.6.2 框架下的数据分页{className:"link"}).update(Text.Last);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页links.observe(
"click",function()基于Prototype 1.6.2 框架下的数据分页{_this.toPage(_this.Numberic.TotalPages)});
基于Prototype 1.6.2 框架下的数据分页Lastpage.appendChild(links);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页Arrow.appendChild(Lastpage);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页Bar.appendChild(Arrow);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*********************************/
基于Prototype 1.6.2 框架下的数据分页viewObj.appendChild(Bar);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页show:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页Element.update(_this.viewObj);
基于Prototype 1.6.2 框架下的数据分页_this.create();
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
;
导航效果图:基于Prototype 1.6.2 框架下的数据分页

下面为数据分页类,其中包括对数据删除、添加、修改
基于Prototype 1.6.2 框架下的数据分页varTPagination=newClass.create();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页TPagination.prototype
=基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页initialize:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
this.viewObj=$(arguments[0])||null;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.InstanceName="";/**//*实例名称*/
基于Prototype 1.6.2 框架下的数据分页
this.calls=newTCallBack();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.imgPath="";/**//*显示图片的路径*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.getDataURL="";/**//*获取分页数据的路径*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageData=null;/**//*分页数据*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageHeadData=null;/**//*表格头部数据以Aarray形式,如:{"aa","bb"}*/
基于Prototype 1.6.2 框架下的数据分页
this.STR_FILECANTUPLOAD="文件格式不正确,不能上传!";
基于Prototype 1.6.2 框架下的数据分页
this.STR_EMPTYOBJECTNAME="请输入组件名称!";
基于Prototype 1.6.2 框架下的数据分页
this.STR_EMPTYOBJECTSORT="请从左边选择组件分类!";
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.outBgColor="";/**//*鼠标移出时的背景色*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.overBgColor="#e7edee";/**//*鼠标移上时的背景色*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.defaultFontColor="#000000";/**//*默认对象的文字颜色*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.fouseFontColor="#FFFFFF";/**//*选中中对象的文字颜色*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.selectBgColor="#0A246A";/**//*选中对象的背景色*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.Pages=0;/**//*总页数*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.CurrentPageIndex=0;/**//*当前页*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.PageCounts=0;/**//*每页显示个数*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.Cells=0;/**//*每行显示的列数*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.showHead=false;/**//*是否显示表格头部*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.showBody=true;/**//*是否显示表格体部*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.showFoot=true;/**//*是否显示表格脚注*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.showMenu=false;/**//*是否显示操作菜单,菜单包括:删除、修改*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.canCellDbClick=false;/**//*每列是否可以点击*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.CellDbClick=Prototype.emptyFunction;/**//*当canCellClick为true时,必须指定的事件*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTable=null;/**//*分页表格模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTableHead=null;/**//*分页表格头部模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTableFoot=null;/**//*分页表格脚注模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTableBody=null;/**//*分页表格体部模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTableRow=null;/**//*分页表格行模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTableCell=null;/**//*分页表格列模板*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pagesTemplate=null;/**//*页码模板*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.linkTemplate=null;/**//*链接模板*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.CellTemplate=null;/**//*每列显示的模板*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageMenuItems=null;/**//*操作菜单项*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.SelectObj=null;/**//*选中的对象*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.SelectValue=null;/**//*选中的对象值*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.STR_FIRSTPAGE="9";/**//*第一页符号,字体为Webdings*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.STR_PREVPAGE="7";/**//*上一页符号,字体为Webdings*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.STR_NEXTPAGE="8";/**//*下一页符号,字体为Webdings*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.STR_LASTPAGE=":";/**//*最后一页符号,字体为Webdings*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.ERROR_EMPTYDATA="<center><B>此分类没有数据。</B><center>";/**//*此分类下没有数据*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.ERROR_EMPTYHEADDATA="请指定表格头部数据。格式如{/"aaa/",/"bbb/"}";/**//*当showHead为true时,没有表格头部数据的错误信息*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.ERROR_EMPTYMENUEVENTS="未指定菜单事件。";/**//*当showMenu为true时,没有指定菜单事件的错误信息*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.ERROR_EMPTYCELLCLICKEVENTS="未指定每列点击事件。";/**//*当canCellClick为true时,没有指定点击事件的错误信息*/
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.NavigationBar=null;/**//*导航栏*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.init();/**//*初始化变量*/
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页pageMenuEvents:
基于Prototype 1.6.2 框架下的数据分页{/**//*操作菜单事件,如果showMenu为true时,必须指定操作代码*/
基于Prototype 1.6.2 框架下的数据分页Insert:Prototype.emptyFunction,
基于Prototype 1.6.2 框架下的数据分页Update:Prototype.emptyFunction,
基于Prototype 1.6.2 框架下的数据分页Delete:Prototype.emptyFunction
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页init:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页
this.getDataURL="";
基于Prototype 1.6.2 框架下的数据分页
this.getSortDataURL="";
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页
this.Pages=0;
基于Prototype 1.6.2 框架下的数据分页
this.CurrentPageIndex=1;
基于Prototype 1.6.2 框架下的数据分页
this.PageCounts=9;
基于Prototype 1.6.2 框架下的数据分页
this.Cells=3;
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页
this.showHead=false;
基于Prototype 1.6.2 框架下的数据分页
this.showBody=true;
基于Prototype 1.6.2 框架下的数据分页
this.showFoot=true;
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页
this.CellTemplate=newTemplate('<div><center><imgsrc="#{Img}"/><br>#{Name}</center></div>');
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页
this.NavigationBar=newTNavigationBar("http://www.cnblogs.com/App_Themes/Pagination/Pages");
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.NavigationBar.toPage=function(pageIndex)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.CurrentPageIndex
=pageIndex;
基于Prototype 1.6.2 框架下的数据分页_this.show();
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页initializePageTalbe:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
this.pageTable=newElement("TABLE",基于Prototype 1.6.2 框架下的数据分页{border:"0",cellspacing:"5",cellpadding:"0",width:"100%"});
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页
this.pageTableBody=newElement("TBODY");
基于Prototype 1.6.2 框架下的数据分页
this.pageTableHead=newElement("THEAD");
基于Prototype 1.6.2 框架下的数据分页
this.pageTableFoot=newElement("TFOOT");
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页
this.pageTable.appendChild(this.pageTableHead);
基于Prototype 1.6.2 框架下的数据分页
this.pageTable.appendChild(this.pageTableBody);
基于Prototype 1.6.2 框架下的数据分页
this.pageTable.appendChild(this.pageTableFoot);
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页createRow:
function(oObj)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页_this.pageTableRow
=oObj.insertRow();
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页createCell:
function()基于Prototype 1.6.2 框架下的数据分页{/**//*生成列,参数0:创建列数,参数1:合并列数,参数2:合并行数*/
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页
vartimes=arguments[0];
基于Prototype 1.6.2 框架下的数据分页
varcolspan=arguments[1]==null?0:parseInt(arguments[1]);
基于Prototype 1.6.2 框架下的数据分页
varrowspan=arguments[2]==null?0:parseInt(arguments[2]);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
for(vari=0;i<times;i++)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.pageTableCell
=_this.pageTableRow.insertCell();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
with(_this.pageTableCell)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(colspan>0)基于Prototype 1.6.2 框架下的数据分页{colSpan=colspan;}
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(rowspan>0)基于Prototype 1.6.2 框架下的数据分页{rowSpan=rowspan;}
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页createMenu:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页_this.pageMenuItems
=[
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页name:
'添加',
基于Prototype 1.6.2 框架下的数据分页className:
'new',
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页callback:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
try基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
if(_this.pageMenuEvents.Insert==Prototype.emptyFunction)
基于Prototype 1.6.2 框架下的数据分页
thrownewError(_this.ERROR_EMPTYMENUEVENTS);
基于Prototype 1.6.2 框架下的数据分页
else
基于Prototype 1.6.2 框架下的数据分页_this.pageMenuEvents.Insert();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
catch(e)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Errors.show(e);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
,基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页name:
'修改',
基于Prototype 1.6.2 框架下的数据分页className:
'edit',
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页callback:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
try基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
if(_this.pageMenuEvents.Update==Prototype.emptyFunction)
基于Prototype 1.6.2 框架下的数据分页
thrownewError(_this.ERROR_EMPTYMENUEVENTS);
基于Prototype 1.6.2 框架下的数据分页
else
基于Prototype 1.6.2 框架下的数据分页_this.pageMenuEvents.Update(_this.SelectValue);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
catch(e)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Errors.show(e);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
,基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页separator:
true
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
,基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页name:
'删除',
基于Prototype 1.6.2 框架下的数据分页className:
'delete',
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页callback:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
try基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
if(_this.pageMenuEvents.Delete==Prototype.emptyFunction)
基于Prototype 1.6.2 框架下的数据分页
thrownewError(_this.ERROR_EMPTYMENUEVENTS);
基于Prototype 1.6.2 框架下的数据分页
else
基于Prototype 1.6.2 框架下的数据分页_this.pageMenuEvents.Delete(_this.SelectValue);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
catch(e)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Errors.show(e);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页];
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
newProto.Menu(基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页selector:
'#'+_this.viewObj.id,
基于Prototype 1.6.2 框架下的数据分页className:
'menudesktop',
基于Prototype 1.6.2 框架下的数据分页menuItems:_this.pageMenuItems
基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页mouseOver:
function(objNode)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页objNode.setStyle(
基于Prototype 1.6.2 框架下的数据分页{backgroundColor:_this.overBgColor,color:_this.defaultFontColor});
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页mouseOut:
function(objNode)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页objNode.setStyle(
基于Prototype 1.6.2 框架下的数据分页{backgroundColor:_this.outBgColor});
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页showCell:
function(strCell)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页
return_this.CellTemplate.evaluate(strCell);
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页show:
function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页
varJSON=_this.pageData;
基于Prototype 1.6.2 框架下的数据分页_this.initializePageTalbe();
基于Prototype 1.6.2 框架下的数据分页_this.viewObj.update();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(JSON==null)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*****分类数据为空************/
基于Prototype 1.6.2 框架下的数据分页_this.createRow(_this.pageTableBody);
基于Prototype 1.6.2 框架下的数据分页_this.createCell(
1);
基于Prototype 1.6.2 框架下的数据分页Element.update(_this.pageTableCell,_this.ERROR_EMPTYDATA);
基于Prototype 1.6.2 框架下的数据分页_this.viewObj.appendChild(_this.pageTable);
基于Prototype 1.6.2 框架下的数据分页
return;
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页
if(_this.showMenu)_this.createMenu();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页_this.Pages
=Math.floor(JSON.Table.size()/_this.PageCounts)+(JSON.Table.size()%_this.PageCounts>0?1:0);/**//*计算总页数*/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*****生成表格头部*****/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(_this.showHead)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(_this.pageHeadData!=null)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.createRow(_this.pageTableHead);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页_this.pageHeadData.each(
function(value,index)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.createCell(
1);
基于Prototype 1.6.2 框架下的数据分页Element.update(_this.pageTableCell,value);
基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
else基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
thrownewError(_this.ERROR_EMPTYHEADDATA);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*****生成数据主体******/
基于Prototype 1.6.2 框架下的数据分页_this.createRow(_this.pageTableBody);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页JSON.Table.each(
function(value,index)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
varstartIndex=_this.CurrentPageIndex==1?1:(_this.CurrentPageIndex-1)*_this.PageCounts+1;
基于Prototype 1.6.2 框架下的数据分页
varendIndex=_this.CurrentPageIndex*_this.PageCounts;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if((index+1)>=startIndex&&(index+1)<=endIndex)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
with(value)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.createCell(
1);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Event.observe(_this.pageTableCell,
"mouseover",function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
varsObj=Event.findElement(event,"TD");
基于Prototype 1.6.2 框架下的数据分页_this.mouseOver(sObj);
基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Event.observe(_this.pageTableCell,
"mouseout",function()基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
varsObj=Event.findElement(event,"TD");
基于Prototype 1.6.2 框架下的数据分页
if(_this.SelectObj!=sObj)
基于Prototype 1.6.2 框架下的数据分页_this.mouseOut(sObj);
基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Event.observe(_this.pageTableCell,
"mousedown",function(event)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
if(event.button==1)return;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(_this.SelectObj!=null)_this.SelectObj.setStyle(基于Prototype 1.6.2 框架下的数据分页{backgroundColor:"",color:_this.defaultFontColor});
基于Prototype 1.6.2 框架下的数据分页_this.SelectObj
=Event.findElement(event,'TD');
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页_this.SelectObj.setStyle(
基于Prototype 1.6.2 框架下的数据分页{backgroundColor:_this.selectBgColor,color:_this.fouseFontColor});
基于Prototype 1.6.2 框架下的数据分页_this.SelectValue
=value;
基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(_this.canCellDbClick)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页Event.observe(_this.pageTableCell,
"dblclick",function(event)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
varsObj=Event.findElement(event,'TD');
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页sObj.setStyle(
基于Prototype 1.6.2 框架下的数据分页{backgroundColor:_this.selectBgColor,color:_this.fouseFontColor});
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
try基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
if(_this.CellDbClick==Prototype.emptyFunction)
基于Prototype 1.6.2 框架下的数据分页
thrownewError(_this.ERROR_EMPTYCELLCLICKEVENTS);
基于Prototype 1.6.2 框架下的数据分页
else
基于Prototype 1.6.2 框架下的数据分页_this.CellDbClick(value);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
catch(e)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Errors.show(e);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
varstrCell=基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Img:_this.imgPath
+Goods_smallpic,
基于Prototype 1.6.2 框架下的数据分页Name:Goods_name
基于Prototype 1.6.2 框架下的数据分页}
;
基于Prototype 1.6.2 框架下的数据分页Element.update(_this.pageTableCell,_this.showCell(strCell));
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if((index+1)%(_this.Cells)==0)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.createRow(_this.pageTableBody);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
);
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(JSON.Table.size()%_this.Cells>0)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.createCell(JSON.Table.size()
%_this.Cells-1);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//*****生成脚注页码*****/
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
if(_this.showFoot)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.createRow(_this.pageTableFoot);
基于Prototype 1.6.2 框架下的数据分页_this.createCell(
1,_this.Cells);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
with(_this.NavigationBar)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页viewObj
=_this.pageTableCell;
基于Prototype 1.6.2 框架下的数据分页Numberic.Total
=JSON.Table.size();
基于Prototype 1.6.2 框架下的数据分页Numberic.CurrentPage
=_this.CurrentPageIndex;
基于Prototype 1.6.2 框架下的数据分页Numberic.TotalPages
=_this.Pages;
基于Prototype 1.6.2 框架下的数据分页show();
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
/**//******************/
基于Prototype 1.6.2 框架下的数据分页_this.viewObj.appendChild(_this.pageTable);
基于Prototype 1.6.2 框架下的数据分页
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页toPage:
function(pageIndex)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页_this.CurrentPageIndex
=pageIndex;
基于Prototype 1.6.2 框架下的数据分页_this.show();
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页callGet:
function(param)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页_this.calls.Path
=_this.getDataURL;
基于Prototype 1.6.2 框架下的数据分页_this.calls.Method
="post";
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页_this.calls.onSuccess
=function(JSON)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.pageData
=JSON;
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
try基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页_this.CurrentPageIndex
=1;
基于Prototype 1.6.2 框架下的数据分页_this.show();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页}
catch(e)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页Errors.show(e);
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}
;
基于Prototype 1.6.2 框架下的数据分页_this.calls.Call(param);
基于Prototype 1.6.2 框架下的数据分页}
,
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页getData:
function(sortIndex)基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页
var_this=this;
基于Prototype 1.6.2 框架下的数据分页PostParameters.Clear();
基于Prototype 1.6.2 框架下的数据分页基于Prototype 1.6.2 框架下的数据分页
with(PostParameters.Add())基于Prototype 1.6.2 框架下的数据分页{
基于Prototype 1.6.2 框架下的数据分页DataType
=getSqlDbType("varchar");
基于Prototype 1.6.2 框架下的数据分页Direction
=getDirection("Input");
基于Prototype 1.6.2 框架下的数据分页FieldName
="GoodsSortID";
基于Prototype 1.6.2 框架下的数据分页Size
=255;
基于Prototype 1.6.2 框架下的数据分页Value
=sortIndex;
基于Prototype 1.6.2 框架下的数据分页RunType
=getRunType("Proc");
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页_this.callGet(PostParameters.toJSON());
基于Prototype 1.6.2 框架下的数据分页}

基于Prototype 1.6.2 框架下的数据分页}

后台数据说明:本例使用的数据格式都为JSON,而在对数据进行操作时用到了基于Prototype的Proto.Menu,下载地址:http://yura.thinkweb2.com/scripting/contextMenu/