Files
BlueLotus_XSSReceiver/diff/jqxgrid.js.diff
firesun aaa17b1691 Version 2.0
实现基本功能
实现了基本界面admin.php
支持查看各种信息,支持自动base64解码

todolist
keepsession
认证
完全启用CSP
我的js
js模板

为实现一些jqxgrid无法实现的功能改动了jqx库,详见diff文件夹
2015-10-27 12:26:59 +08:00

50 lines
2.4 KiB
Diff

diff --git a/jqxgrid.js b/jqxgrid.js
index 97dd39c..605cf30 100644
--- a/jqxgrid.js
+++ b/jqxgrid.js
@@ -288,9 +288,9 @@ License: http://jqwidgets.com/license/
return
}
if (h.autorowheight && !h.autoheight && !h.pageable) {
- throw new Error('jqxGrid: "autorowheight" requires setting the "autoheight" or "pageable" property to true!');
- h.host.remove();
- return
+ //throw new Error('jqxGrid: "autorowheight" requires setting the "autoheight" or "pageable" property to true!');
+ //h.host.remove();
+ //return
}
if (h.virtualmode && h.rendergridrows == null) {
throw new Error('jqxGrid: "virtualmode" requires setting the "rendergridrows"!');
@@ -6038,6 +6042,13 @@ License: http://jqwidgets.com/license/
})
}
}
+ else{
+ var o = n - e;
+ var g = this.vScrollInstance.max;
+ this.vScrollBar.jqxScrollBar({
+ max: o
+ });
+ }
} else {
this.vScrollBar.jqxScrollBar({
value: 0,
@@ -6584,7 +6595,7 @@ License: http://jqwidgets.com/license/
if (ad.group != undefined && this._rendergroup) {
this._rendergroup(P, k, ad, am, r, ab, J)
}
- if (this.autorowheight && (this.autoheight || this.pageable)) {
+ if (this.autorowheight) {// && (this.autoheight || this.pageable)) {
var O = this.rowsheight;
for (var V = d; V < aa; V++) {
if (this.editable && this.editcell && this.editcell.column == this.columns.records[V].datafield && this.editcell.row == this.getboundindex(ad)) {
@@ -6661,7 +6672,7 @@ License: http://jqwidgets.com/license/
}
}
}
- if ((this.autoheight || this.pageable) && this.autorowheight) {
+ if (this.autorowheight) {//(this.autoheight || this.pageable) &&
this._pagescache = new Array();
var W = 0;
var g = 0;