BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hi Bhavani,
Thank you for contacting
Syncfusion support.
We have analyzed your query
and we regret to say that as of now we do not have the support to display the
GroupCaptionText and GroupCaptionSummary at the same time. You can only display
either GroupCaptionText or GroupCaptionSummary at the time. However instead of
that you can use column based Group summaries, so that you can display
GroupCaptionText and summary of the group at the same time.
To know more about the Group
Summaries please refer the following link,
UG link: http://help.syncfusion.com/UG/winrt/default.htm#!Documents/groupsummaries.htm
Please let us know if you
need further assistance.
Regards,
Hi Bhavani,
Thanks for your update.
As of now we do not have
direct support for this requirement. However,
you can display the GroupCaption and Inline Caption summary at the same time by
applying the Custom style for GridCaptionSummaryCell with Converter. The
following code snippet illustrates the
custom style for GridCaptionSummaryCell,
[XAML]
<Style
TargetType="syncfusion:GridCaptionSummaryCell">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="syncfusion:GridCaptionSummaryCell">
<Border x:Name="PART_GridSummaryCellBorder"
Background="{TemplateBinding
Background}"
BorderBrush="{TemplateBinding
BorderBrush}"
BorderThickness="{TemplateBinding
BorderThickness}">
<Grid VerticalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="188"
/>
<ColumnDefinition Width="188"
/>
<ColumnDefinition Width="188"
/>
<ColumnDefinition Width="188"
/>
<ColumnDefinition
Width="188" />
<ColumnDefinition Width="188"
/>
<ColumnDefinition Width="188"
/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0"
FontSize="16"
Text="{Binding Path=DataContext,
Converter={StaticResource
converter},
ConverterParameter=Caption,
RelativeSource={RelativeSource Mode=TemplatedParent}}"
/>
<TextBlock Grid.Column="3"
FontSize="16"
Text="{Binding Path=DataContext,
Converter={StaticResource
converter},
ConverterParameter=Change,
RelativeSource={RelativeSource Mode=TemplatedParent}}"
/>
<TextBlock Grid.Column="5"
FontSize="16"
Text="{Binding Path=DataContext,
Converter={StaticResource
converter},
ConverterParameter=Open,
RelativeSource={RelativeSource Mode=TemplatedParent}}"
/>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter> </Style> |
You can also check the sample
for this requirement under the following location,
Sample: GridWithCaptionSummary.zip
Please let us know if you
need further assistance.
Regards,
Riyaj Ahamed I
Hi Bhavani,
We are able to reproduce the issue. We have logged an issue report regarding this. The fix will be available in our next release which is expected to be rolled by mid of May 2013.
Please let us know if you need further assistance.
Regards,
Prakash S.
Hi Bhavani,
We are able to reproduce the issue. We have logged an issue report regarding this. The fix will be available in our next release which is expected to be rolled by mid of May 2013.
Please let us know if you need further assistance.
Regards,
Prakash S.
Hi Alex,
Query: Filtering issueWe have
analyzed your query and the filtering issue has been fixed in our side, will
you please conform on your side either the filtering issue is fixed or not?
Query : Title and Column Summary displaying in same time
We regret inform you that it is not possible to display the both Title and Column Summary in same time in our SfDataGrid because we have span all the cells in to single cell for displaying title.Please let us know if you require further assistance.
Thanks,
Ashok.
public class CustomGridCaptionSummaryRenderer : GridCaptionSummaryCellRenderer
{
SfDataGrid dataGrid;
public CustomGridCaptionSummaryRenderer(SfDataGrid dataGrid)
{
this.dataGrid = dataGrid;
}
protected override void OnRender(Graphics paint, Rectangle cellRect, string cellValue,
CellStyleInfo style, DataColumnBase column, RowColumnIndex rowColumnIndex)
{
if (string.IsNullOrEmpty(cellValue))
return;
var rowData = this.dataGrid.GetRecordEntryAtRowIndex(rowColumnIndex.RowIndex) as Group;
if(rowData is Group)
{
var key = rowData.Key;
var itemsCount = rowData.ItemsCount;
var columnName = dataGrid.GroupColumnDescriptions[rowData.Level - 1];
cellValue = columnName + " - " + key + " - " + cellValue;
}
base.OnRender(paint, cellRect, cellValue, style, column, rowColumnIndex);
}
} |