on 06-14-2017 11:26 AM
Hi,
I need to extend a button control in Viz Frame control. Please see the below code for the same.
I have made a separate js file name commonControl.js in which i have write below code.
sap.viz.ui5.controls.VizFrame.extend("bslsap.coil.insurance.customcontrols.hello", { renderer:"sap.viz.ui5.controls.VizFrameRenderer",
metadata : {
properties: {
"colorCode":{type : "string"},
"lineStatus":{type : "string"},
"whatever": {type : "any"}
},
aggregations : {
_buyButton : {type : "sap.m.Button", multiple : false, visibility: "hidden"},
}
}
});
Please see the above code is ok for the same. If not please provide me the code if possible.
And the way to use this extended button control in viz frame control.
Please suggest something. Thanks in Advance.
Somdutt
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.