Hi,
You can't add a layout to the text property of a textfield, so this won't work.
A better approach would be something like this:
oTable.addColumn(new sap.ui.table.Column({ label: new sap.ui.commons.Label({text: "Confirmation"}), template: new sap.ui.layout.HorizontalLayout({ content : [ new sap.ui.commons.TextView({ text: "Confirmed", textAlign: sap.ui.core.TextAlign.Left, visible : ... }), new sap.ui.commons.Button({ text : Approve, press : doApprove, visible : ... }), new sap.ui.commons.Button({ text : "Reject", press : doReject, visible : ... }) ] }) }));
Simply place all needed elements inside the layout, and based on the 'visible' property, you either show both buttons, or the textview.
I'll leave it as an exercise to you on how you should actually handle the visible state for the TextView and Buttons (hint: use model binding)