function updateBindingContextsOfRows(oMode, aRows) {
		const oTable = oMode.getTable();

		if (!oTable || aRows.length === 0) {
			return;
		}

		const aContexts = oMode.getRowContexts(aRows.length);

		for (let i = 0; i < aRows.length; i++) {
			aRows[i].setRowBindingContext(aContexts[i], oTable);
		}
	}
Updates binding contexts of the rows. The rows passed to this method must either be already in the rows aggregation of the table, or are
about to be added there. Also, they must be in the order as they are, or will be, in the aggregation.

@param {sap.ui.table.rowmodes.RowMode} oMode The row mode that is associated with the table that is or will be the parent of the rows.
@param {Array<sap.ui.table.Row>} [aRows] The rows for which the contexts are to be updated.