Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149942 | Dec 15,2019 10:30 PM UTC | Dec 16,2019 12:02 PM UTC | JavaScript - EJ 2 | 1 |
![]() |
Tags: PivotView |
var button = new ej.buttons.Button({ isPrimary: true });
button.appendTo('#Refresh');
button.element.onclick = function (args) {
if (pivotObj.height == 250 && pivotObj.width == '100%') {
pivotObj.setProperties({height:500,width: '80%'},true);
}
else if (pivotObj.height == 500&& pivotObj.width == '80%') {
pivotObj.setProperties({height:300,width: '50%'},true);
}
else {
pivotObj.setProperties({height:250,width: '100%'},true);
}
pivotObj.layoutRefresh();
};
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.