src/sap.ui.ux3/src/sap/ui/ux3/ExactList.js
function(oList, oAttr){
		if (oList._getAtt().getListOrder() != ExactOrder.Fixed /*Select*/) {
			return -1;
		}

		var aAttributes = oList._getAtt().getAttributes();
		var idx = 0;
		for (var i = 0; i < aAttributes.length; i++) {
			if (aAttributes[i] === oAttr) {
				break;
			}
			if (aAttributes[i].getChangeListener()) {
				idx++;
			}
		}
		return idx;
	}
function(oList, oAttr){
		if (oList._getAtt().getListOrder() != ExactOrder.Fixed /*Select*/) {
			return -1;
		}

		var aAttributes = oList._getAtt().getAttributes();
		var idx = 0;
		for (var i = 0; i < aAttributes.length; i++) {
			if (aAttributes[i] === oAttr) {
				break;
			}
			if (aAttributes[i].getChangeListener()) {
				idx++;
			}
		}
		return idx;
	}
function ( oList , oAttr ) { if ( oList . _getAtt ( ) . getListOrder ( ) != ExactOrder . Fixed /*Select*/ ) { return - 1 ; } var aAttributes = oList . _getAtt ( ) . getAttributes ( ) ; var idx = 0 ; for ( var i = 0 ; i < aAttributes . length ; i ++ ) { if ( aAttributes [ i ] === oAttr ) { break ; } if ( aAttributes [ i ] . getChangeListener ( ) ) { idx ++ ; } } return idx ; }
Returns the index in the sublists of the given list for a new list of the given attribute
Returns the index in the sublists of the given list for a new list of the given attribute