function initRowSettings() {
		oTable.setVisibleRowCount(iRowsWithHighlight + 2);

		oTable.setRowSettingsTemplate(new RowSettings({
			highlight: {
				path: "",
				formatter: function() {
					var oRow = this._getRow();

					if (oRow != null) {
						var iIndex = oRow.getIndex();

						if (iIndex === 0) {
							return MessageType.Success;
						} else if (iIndex === 1) {
							return MessageType.Warning;
						} else if (iIndex === 2) {
							return MessageType.Error;
						} else if (iIndex === 3) {
							return MessageType.Information;
						} else if (iIndex === 4) {
							return MessageType.None;
						} else if (iIndex === 5) {
							return IndicationColor.Indication01;
						} else if (iIndex === 6) {
							return IndicationColor.Indication02;
						} else if (iIndex === 7) {
							return IndicationColor.Indication03;
						} else if (iIndex === 8) {
							return IndicationColor.Indication04;
						} else if (iIndex === 9) {
							return IndicationColor.Indication05;
						} else if (iIndex === 10) {
							return IndicationColor.Indication06;
						} else if (iIndex === 11) {
							return IndicationColor.Indication07;
						} else if (iIndex === 12) {
							return IndicationColor.Indication08;
						}
					}

					return "None";
				}
			}
		}));

		sap.ui.getCore().applyChanges();
	}
/**
	 * Sets up the row settings template in the table.
	 */
Sets up the row settings template in the table.
Sets up the row settings template in the table .
function initRowSettings() {
		oTable.setVisibleRowCount(iRowsWithHighlight + 2);
		oTable.setRowSettingsTemplate(new RowSettings({
			highlight: {
				path: "",
				formatter: function() {
					var oRow = this._getRow();
					if (oRow != null) {
						var iIndex = oRow.getIndex();
						if (iIndex === 0) {
							return MessageType.Success;
						} else if (iIndex === 1) {
							return MessageType.Warning;
						} else if (iIndex === 2) {
							return MessageType.Error;
						} else if (iIndex === 3) {
							return MessageType.Information;
						} else if (iIndex === 4) {
							return MessageType.None;
						} else if (iIndex === 5) {
							return IndicationColor.Indication01;
						} else if (iIndex === 6) {
							return IndicationColor.Indication02;
						} else if (iIndex === 7) {
							return IndicationColor.Indication03;
						} else if (iIndex === 8) {
							return IndicationColor.Indication04;
						} else if (iIndex === 9) {
							return IndicationColor.Indication05;
						} else if (iIndex === 10) {
							return IndicationColor.Indication06;
						} else if (iIndex === 11) {
							return IndicationColor.Indication07;
						} else if (iIndex === 12) {
							return IndicationColor.Indication08;
						}
					}
					return "None";
				}
			}
		}));
		sap.ui.getCore().applyChanges();
	}
function initRowSettings ( ) { oTable . setVisibleRowCount ( iRowsWithHighlight + 2 ) ; oTable . setRowSettingsTemplate ( new RowSettings ( { highlight : { path : "" , formatter : function ( ) { var oRow = this . _getRow ( ) ; if ( oRow != null ) { var iIndex = oRow . getIndex ( ) ; if ( iIndex === 0 ) { return MessageType . Success ; } else if ( iIndex === 1 ) { return MessageType . Warning ; } else if ( iIndex === 2 ) { return MessageType . Error ; } else if ( iIndex === 3 ) { return MessageType . Information ; } else if ( iIndex === 4 ) { return MessageType . None ; } else if ( iIndex === 5 ) { return IndicationColor . Indication01 ; } else if ( iIndex === 6 ) { return IndicationColor . Indication02 ; } else if ( iIndex === 7 ) { return IndicationColor . Indication03 ; } else if ( iIndex === 8 ) { return IndicationColor . Indication04 ; } else if ( iIndex === 9 ) { return IndicationColor . Indication05 ; } else if ( iIndex === 10 ) { return IndicationColor . Indication06 ; } else if ( iIndex === 11 ) { return IndicationColor . Indication07 ; } else if ( iIndex === 12 ) { return IndicationColor . Indication08 ; } } return "None" ; } } } ) ) ; sap . ui . getCore ( ) . applyChanges ( ) ; }
Sets up the row settings template in the table.
Sets up the row settings template in the table .