src/sap.ui.table/src/sap/ui/table/TableUtils.js
function(oTable) {
			if (!oTable) {
				return false;
			}

			var iSelectableRowCount = oTable._getSelectableRowCount();
			return iSelectableRowCount > 0 && iSelectableRowCount === oTable._getSelectedIndicesCount();
		}
function(oTable) {
			if (!oTable) {
				return false;
			}

			var iSelectableRowCount = oTable._getSelectableRowCount();
			return iSelectableRowCount > 0 && iSelectableRowCount === oTable._getSelectedIndicesCount();
		}
function ( oTable ) { if ( ! oTable ) { return false ; } var iSelectableRowCount = oTable . _getSelectableRowCount ( ) ; return iSelectableRowCount > 0 && iSelectableRowCount === oTable . _getSelectedIndicesCount ( ) ; }
Finds out if all rows are selected in a table.

@param {sap.ui.table.Table} oTable Instance of the table.
@returns {boolean} Returns <code>true</code> if all rows in the table are selected.
Finds out if all rows are selected in a table .