Hi,
I am having trouble in displaying group header correctly in RadGrid. Most of the group headers are displaying fine, but few not. I am not able to figure it out, what is causing that issue. Below are my grid and group settings. I am also attaching the grid screenshot for reference. Any suggestions please, what I am doing wrong.
Thank you, Madhavi
<t:RadGrid ID="rgLEV" runat="server"
AllowSorting="True" GridLines="None" ShowFooter="True" AutoGenerateColumns="false" EnableViewState = "true"
GroupingEnabled="true" ShowGroupPanel="true" OnGroupsChanging="rgLEV_GroupsChanging" AllowMultiRowSelection="true"
HeaderStyle-Wrap="false" ItemStyle-Wrap="false" GroupingSettings-GroupByFieldsSeparator=""
OnNeedDataSource="rgLEV_NeedDataSource"
OnPreRender="rgLEV_PreRender"
OnItemCommand="rgLEV_ItemCommand"
OnUpdateCommand="rgLEV_UpdateCommand"
OnItemCreated="rgLEV_ItemCreated"
OnDetailTableDataBind="rgLEV_DetailTableDataBind"
OnItemDataBound="rgLEV_ItemDataBound"
OnExportCellFormatting="rgLEV_ExportCellFormatting">
<ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True"
ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
</ClientSettings>
<GroupingSettings RetainGroupFootersVisibility="true"/>
<GroupByExpressions>
<t:GridGroupByExpression>
<SelectFields>
<t:GridGroupByField FieldName="EMP_NAME_LINE" HeaderValueSeparator="" HeaderText=" " />
</SelectFields>
<SelectFields>
<t:GridGroupByField FieldName="EMPLOYEE_ID" FormatString="({0})" HeaderValueSeparator="" HeaderText=" "/>
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="WORKED_HOURS" HeaderText=" Hours" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="LD_POT_OT_HOURS" HeaderText=" OT" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="LD_POT_DT_HOURS" HeaderText=" DT" />
</SelectFields>
<GroupByFields>
<t:GridGroupByField FieldName="EMP_NAME_LINE" />
</GroupByFields>
</t:GridGroupByExpression>
<t:GridGroupByExpression>
<SelectFields>
<t:GridGroupByField FieldName="WORKED_DT" FormatString="{0:MM/dd/yyyy}" HeaderText="Date" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="WORKED_HOURS" HeaderText=" Hours" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="OT_HOURS" HeaderText=" OT" />
</SelectFields>
<SelectFields>
<t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="DT_HOURS" HeaderText=" DT" />
</SelectFields>
<GroupByFields>
<t:GridGroupByField FieldName="WORKED_DT" />
</GroupByFields>
</t:GridGroupByExpression>
</GroupByExpressions>