function toggleSelection(oPlugin) {
		if (oPlugin.getSelectableCount() > oPlugin.getSelectedCount()) {
			oPlugin.selectAll();
		} else {
			oPlugin.clearSelection();
		}
	}
/**
	 * If not all indices are selected, all indices are selected, otherwise the selection is removed.
	 *
	 * @param {sap.ui.table.plugins.MultiSelectionPlugin} oPlugin The plugin to toggle the selection on.
	 */
If not all indices are selected, all indices are selected, otherwise the selection is removed.
@param {sap.ui.table.plugins.MultiSelectionPlugin} oPlugin The plugin to toggle the selection on.
If not all indices are selected all indices are selected otherwise the selection is removed . @param { sap . ui . table . plugins . MultiSelectionPlugin } oPlugin The plugin to toggle the selection on .
function toggleSelection(oPlugin) {
		if (oPlugin.getSelectableCount() > oPlugin.getSelectedCount()) {
			oPlugin.selectAll();
		} else {
			oPlugin.clearSelection();
		}
	}
function toggleSelection ( oPlugin ) { if ( oPlugin . getSelectableCount ( ) > oPlugin . getSelectedCount ( ) ) { oPlugin . selectAll ( ) ; } else { oPlugin . clearSelection ( ) ; } }
If not all indices are selected, all indices are selected, otherwise the selection is removed.
If not all indices are selected all indices are selected otherwise the selection is removed .