Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144926 | May 29,2019 07:56 AM UTC | Aug 23,2019 11:18 AM UTC | JavaScript - EJ 2 | 5 |
![]() |
Tags: PivotGrid |
var pivotGridObj = new ej.pivotview.PivotView({
gridSettings: { columnWidth: 140,
columnRender: function(args) {
args.columns[0].width = 100;
}
}
});
pivotGridObj.appendTo('#PivotView');
|
columnRender: function (args) {
for (var i = 0; i < args.columns.length; i++) {
if (args.columns[i].headerText != undefined && args.columns[i].headerText == "")
args.columns[i].width = 120; // You can customize the width of specific column here.
}
} |
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.