左右冻结列同时启用显示问题

dep_wangsr
RuoYi 6 years ago committed by Limy
parent e7705ea4d1
commit f3ecd7f57f

@ -44,11 +44,13 @@
'<tbody style="background-color: #fff;"></tbody>', '<tbody style="background-color: #fff;"></tbody>',
'</table>', '</table>',
'</div>'].join('')); '</div>'].join(''));
this.$rightfixedBody.find('table').attr('class', this.$el.attr('class')); this.$rightfixedBody.find('table').attr('class', this.$el.attr('class'));
this.$rightfixedHeaderColumns = this.$rightfixedBody.find('thead'); this.$rightfixedHeaderColumns = this.$rightfixedBody.find('thead');
this.$rightfixedBodyColumns = this.$rightfixedBody.find('tbody'); this.$rightfixedBodyColumns = this.$rightfixedBody.find('tbody');
this.$tableBody.before(this.$rightfixedBody); this.$tableBody.before(this.$rightfixedBody);
if (this.options.fixedColumns) {
$('.right-fixed-table-columns').attr('style','right:0px');
}
} }
}; };

Loading…
Cancel
Save