src/sap.ui.table/src/sap/ui/table/TableUtils.js
function(oTable) {
			var oBinding = oTable.getBinding("rows");
			var iTotalRowCount = oTable._getTotalRowCount();
			var bHasData = iTotalRowCount > 0;

			if (oBinding && oBinding.providesGrandTotal) { // Analytical Binding
				var bHasTotal = oBinding.providesGrandTotal() && oBinding.hasTotaledMeasures();
				bHasData = (bHasTotal && iTotalRowCount > 1) || (!bHasTotal && iTotalRowCount > 0);
			}

			return bHasData;
		}
function(oTable) {
			var oBinding = oTable.getBinding("rows");
			var iTotalRowCount = oTable._getTotalRowCount();
			var bHasData = iTotalRowCount > 0;

			if (oBinding && oBinding.providesGrandTotal) { // Analytical Binding
				var bHasTotal = oBinding.providesGrandTotal() && oBinding.hasTotaledMeasures();
				bHasData = (bHasTotal && iTotalRowCount > 1) || (!bHasTotal && iTotalRowCount > 0);
			}

			return bHasData;
		}
function ( oTable ) { var oBinding = oTable . getBinding ( "rows" ) ; var iTotalRowCount = oTable . _getTotalRowCount ( ) ; var bHasData = iTotalRowCount > 0 ; if ( oBinding && oBinding . providesGrandTotal ) { // Analytical Binding var bHasTotal = oBinding . providesGrandTotal ( ) && oBinding . hasTotaledMeasures ( ) ; bHasData = ( bHasTotal && iTotalRowCount > 1 ) || ( ! bHasTotal && iTotalRowCount > 0 ) ; } return bHasData ; }
Returns whether the table currently has data.

@param {sap.ui.table.Table} oTable Instance of the table.
@returns {boolean} Whether the table has data.
Returns whether the table currently has data .