B-JUI bug

1、2018年4月3日        Bjuiajax.prototype.ajaxcallback刷新bug

$('\'#'+ n.trim()+'\'').datagrid('refresh', options.gridrefreshflag)

改为:

$('#'+ n.trim()).datagrid('refresh', options.gridrefreshflag)

 

2、2018年4月19日    Datagrid.prototype.fixedWidth修复fullGrid=true时子表展开和关闭后父表表头移位bug,不过带来的是:展开子表时,父表内容对不上父表表头,收缩后又可以了,就算是一个提示吧。如下图

原来:

if (options.fullGrid || that.isTemplate || that.needfixedWidth || (that.hasAutoCol && isInit)) {

修改后:

if (that.isTemplate || that.needfixedWidth || (that.hasAutoCol && isInit)) {

 

3、datagrid 的paging=false,也要用到pageSize作为行号的显示处理,暂时修改一下,2018年5月17日

 

        if (typeof options.paging === 'string') {
            options.paging = options.paging.toObj()
            that.paging = $.extend({}, { pageSize: 15, selectPageSize: '15,30,60,90', pageCurrent: 1, total: 0, showPagenum: 5 }, (typeof options.paging === 'object') && options.paging)
            
        } else {
        	//修改,当不paging=false时,底层也需要用到pageSize,所以设置一下2018年5月23日
        	if(options.paging){
                that.paging = $.extend({}, { pageSize: 15, selectPageSize: '15,30,60,90', pageCurrent: 1, total: 0, showPagenum: 5 }, (typeof options.paging === 'object') && options.paging)
        	}else{
        		that.paging = $.extend({}, { pageSize: 200, selectPageSize: '15,30,60,90', pageCurrent: 1, total: 0, showPagenum: 5 }, (typeof options.paging === 'object') && options.paging)
        	}
        }

 

转载于:https://my.oschina.net/xldc/blog/1789419

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值