BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hi Jey,
Thanks for contacting Syncfusion support. Please find the
response below.
You can change the coumnWidth
of pivot table in the enginePopulated
event. Please find the code snippet below.
Code snippet:[JavaScript]
enginePopulated:
function (args) { this.gridSettings.columnWidth = 210; } |
Sample link: https://stackblitz.com/edit/ptwcmh?file=index.ts
Please let us know if you have any concerns.
Regards,
Scintilla A
Try this code for set width of in kendo grid columns
columns: [ { field: "OrderID", title: "Order ID", width: 150 } ]
gridSettings: {
columnRender: function(args) {
for(var i=0; i < args.columns.length; i++) {
if(args.columns[i].headerText != undefined && args.columns[i].headerText.indexOf("Units Sold")> 0)
args.columns[i].width =210; // You can customize the width of specific column here.
}
}
} |