Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed bug

  • Loading branch information...
commit 1eb8605d80bd87c29704629edd8a59fe49e2aa80 1 parent 0f87ce2
@jeads jeads authored
View
7 datazilla/webapp/static/js/metric_summary/MetricGridComponent.js
@@ -125,8 +125,10 @@ var MetricGridView = new Class({
}
}
- var columnTitle, rowTitle = "";
+ //Set the column headers
+ this._buildGridHeaders(columns);
+ var columnTitle, rowTitle = "";
var cellWidth = parseInt(
$('.' + this.gridColumnHeaderClass).css('width')
@@ -149,11 +151,10 @@ var MetricGridView = new Class({
//The width of the scroll container needs to be set dynamically
//based on the width of all of the rows, row headers, and cell width
var containerWidth = cellWidth + valueRowWidth + headerWidth;
+
$(this.gridScrollContainer).css('width', containerWidth);
$(this.gridBoundarySel).css('width', containerWidth);
- //Set the column headers
- this._buildGridHeaders(columns);
//Build the grid of cells
this._buildGrid(rows, columns, this.data);
View
2  datazilla/webapp/static/js/metric_summary/metric-summary-min.js
1 addition, 1 deletion not shown
Please sign in to comment.
Something went wrong with that request. Please try again.