BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Dear Customer,
We would like to inform that it is possible to wrap the row and column header text and set a fix maximum width and height. But it may change the layout of the OLAP Grid table.
The following code snippet will help you to achieve this.
Code Snippet[.aspx]:
<style type="text/css" runat="server">
.SF_DefaultSkin .PivotTable .ColHeader
{
min-width:0px !important;
max-width:50px !important;
width: 5px !important;
height:50px !important;
word-wrap:break-word !important;
}
.SF_DefaultSkin .PivotTable .RowHeader
{
max-width:100px;
width:200px !important;
height:10px !important;
word-wrap:break-word !important;
}
.SF_DefaultSkin .PivotTable .ValueCell
{
max-width:50px !important;
word-wrap:break-word !important;
</style>
Please find the below screenshot where you can view the OLAP Grid with changed layout due to the wrapped headers.
Screenshot :
Thanks,
Ramesh.G
Dear Customer,
Thanks for the update.
Please find the updated code snippet which will help you to achieve your requirement.
Code Snippet [.aspx]:
<style id="Style1" type="text/css" runat="server">
.SF_DefaultSkin .PivotTable .ColHeader
{
min-width:0px !important;
max-width:50px !important;
width: 5px !important;
height:50px !important;
word-wrap:break-word !important;
white-space:normal !important;
}
.SF_DefaultSkin .PivotTable .RowHeader
{
max-width:100px;
width:30px !important;
height:10px !important;
word-wrap:break-word !important;
white-space:normal !important;
}
.SF_DefaultSkin .PivotTable .ValueCell
{
max-width:50px !important;
word-wrap:break-word !important;
white-space:normal !important;
}
</style>
Thanks,
Ramesh. G