Skip to Content
avatar image
Former Member

How to add color to master Pages in Split App

Hi Guy's

If I click on BUY button in detail page in master page item should be GREEN color.

	venderdata: function(sKey) {
									     var oTable = this.byId("idTblVendor");
									    var url = "/VendorData('" + sKey + "')/Results";
									    var itemTemplate = new sap.m.ColumnListItem({
										cells: [
											new sap.m.Text({
												text: "{VENDOR_NO}"
											}),
											new sap.m.Text({
												text: "{VENDOR_NAME}"
											}),
											new sap.m.Text({
												text: "{PRICE}"
											}),
											new sap.m.Button({
												text: "Quote",
												press: function() {}
											}),
											new sap.m.Button({
												text: "Buy",
												enabled: "{= ${PRICE} > 0 }",
												press: function() {
		//							
												}
								})
										]
	});
									      oTable.bindItems({
										path: url,
										template: itemTemplate
									});
								},

capture35.jpg (53.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 16 at 09:03 AM

    you can achieve by using Event bus.

    Regards,

    Meghal Shah

    Add comment
    10|10000 characters needed characters exceeded