Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
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.
}
} |