Skip to Content
0

How to add color to master Pages in Split App

May 15 at 02:19 PM

29

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

MEGHAL SHAH May 16 at 09:03 AM
0

you can achieve by using Event bus.

Regards,

Meghal Shah

Share
10 |10000 characters needed characters left characters exceeded