|
|
|
@ -66,6 +66,8 @@ var DynamicTable = new Class({
@@ -66,6 +66,8 @@ var DynamicTable = new Class({
|
|
|
|
|
|
|
|
|
|
$(this.dynamicTableDivId).addEvent('scroll', scrollFn); |
|
|
|
|
|
|
|
|
|
// if the table exists within a panel
|
|
|
|
|
if ($(this.dynamicTableDivId).getParent('.panel')) { |
|
|
|
|
var resizeFn = function() { |
|
|
|
|
var panel = $(this.dynamicTableDivId).getParent('.panel'); |
|
|
|
|
var h = panel.getBoundingClientRect().height - $(this.dynamicTableFixedHeaderDivId).getBoundingClientRect().height; |
|
|
|
@ -99,6 +101,7 @@ var DynamicTable = new Class({
@@ -99,6 +101,7 @@ var DynamicTable = new Class({
|
|
|
|
|
}.bind(this); |
|
|
|
|
|
|
|
|
|
setInterval(checkResizeFn, 500); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setupHeaderEvents: function() { |
|
|
|
|