Hi there,
Please see the attached image. I am grouping my data, but I need some questions answered.
I want "Type:" not to display. There should be just "Achievers" or "Ongoing".
Next to "Achievers" and "Ongoing" I need the group total to display, just above the item count. So to the right of "Achievers" I need the value to be 5.
I had a look at the samples online, and the forum. I think there were 2 posts in the forum.
Here is my code:
<telerik:RadGrid
AllowPaging="false"
AutoGenerateColumns="false"
GridLines="None"
ID="rgNominationsReportSummary"
runat="server"
ShowHeader="false"
Width="450">
<MasterTableView Name="NominationsSumary">
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="NominationTypeName" FieldAlias="Type" />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="NominationTypeName" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<Columns>
<telerik:GridBoundColumn DataField="NominationStatusName" HeaderText="Status">
<ItemStyle Width="88%" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="NominationCount" HeaderText="Count">
<HeaderStyle HorizontalAlign="Right" />
<ItemStyle HorizontalAlign="Right" Width="12%" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Thanks
Brendan
Please see the attached image. I am grouping my data, but I need some questions answered.
I want "Type:" not to display. There should be just "Achievers" or "Ongoing".
Next to "Achievers" and "Ongoing" I need the group total to display, just above the item count. So to the right of "Achievers" I need the value to be 5.
I had a look at the samples online, and the forum. I think there were 2 posts in the forum.
Here is my code:
<telerik:RadGrid
AllowPaging="false"
AutoGenerateColumns="false"
GridLines="None"
ID="rgNominationsReportSummary"
runat="server"
ShowHeader="false"
Width="450">
<MasterTableView Name="NominationsSumary">
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="NominationTypeName" FieldAlias="Type" />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="NominationTypeName" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<Columns>
<telerik:GridBoundColumn DataField="NominationStatusName" HeaderText="Status">
<ItemStyle Width="88%" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="NominationCount" HeaderText="Count">
<HeaderStyle HorizontalAlign="Right" />
<ItemStyle HorizontalAlign="Right" Width="12%" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Thanks
Brendan