Hi,
Is there a way to use custom style with aggregates of columns? The cells in the grid use font-size:10px. I would like to use a smaller font-size than the one provided for the aggregates.
Thank you
|
<style>
.e-grid .e-summarycell {
font-size:10px;
}
</style>
|
Hi, maybe I should open a new ticket for this issue.
When exporting to PDF, how can I set the aggregate header to be the same as the actual grid view on screen? The columns used (Elevation and Type et Couleur) are GridForeignColumns. At the moment, it displays the foreign key instead of the text value.
Screen
Thank you
|
<GridGroupSettings>
<CaptionTemplate>
@{
var order = (context as CaptionTemplateContext);
<div>This is a custom group template @order.Field - @order.Key</div>
}
</CaptionTemplate>
</GridGroupSettings>
<GridEvents PdfGroupCaptionTemplateInfo="@PdfGroupCaptionTemplateInfo" TValue="Order"></GridEvents>
public void PdfGroupCaptionTemplateInfo(PdfCaptionTemplateArgs args)
{
//assign the captionteplate content here
args.Cell.Value = "Custom template " + args.Field + "-" + args.Key.ToString();
}
|