GUI -- Empty table now has a "no items found" row, and table width set to track window width.
Change-Id: I32d3403926fe3c3686fc0219b4880dcb15888e61
diff --git a/web/gui/src/main/webapp/app/fw/widget/table.js b/web/gui/src/main/webapp/app/fw/widget/table.js
index 003b73c..b3b0476 100644
--- a/web/gui/src/main/webapp/app/fw/widget/table.js
+++ b/web/gui/src/main/webapp/app/fw/widget/table.js
@@ -167,9 +167,13 @@
w: window.innerWidth
};
}, function (newVal) {
+ var wsz = fs.windowSize(0, 30);
scope.windowHeight = newVal.h;
scope.windowWidth = newVal.w;
+ // default table size in case no data elements
+ table.style('width', wsz.width + 'px');
+
scope.$on('LastElement', function () {
// only adjust the table once it's completely loaded
fixTable(table, thead, tbody);