Hi,
Is it possible to change the pivot Columns Width?
Thanks,
Miri
The configuration of columns (including width) can be changed through the onBeforeRender
:
on:{
onBeforeRender: function(config){
var columns = config.header;
for(var i=0; i< columns.length;i++){
columns[i].width = 150 // equal width for all columns
}
}
}
ID of each column is based on its actual data: columns/values names and type of the current data operation. For example:
id: "2005_'_max_'_oil" //column_'_operation_'_value
So if you want to get the config of the particular column, you need to use the substring comparison or a regexp.