Dears
I'm confused about my Group Header, why it's generate in div, but not span like the Demos do?
Can anyone help me what makes the different? thank you!
this is my code :
<telerik:RadGrid ID="RadCompanyGrid" runat="server" AllowPaging="False" AutoGenerateColumns="False" Width="100%" MasterTableView-TableLayout="Fixed" MasterTableView-HorizontalAlign="Center" OnItemDataBound="RadCompanyGrid_ItemDataBound" Skin="Default" >
<ClientSettings >
<Scrolling UseStaticHeaders="true" AllowScroll="true" />
<ClientEvents OnGridCreated="RadCompanyGridCreated" />
</ClientSettings>
<GroupingSettings GroupByFieldsSeparator=" " />
<MasterTableView Width="100%" Caption="2018年02月指定目標檢討" GroupHeaderItemStyle-Wrap="true" EnableGroupsExpandAll="true" >
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldAlias="Category" FieldName="Category" HeaderText=" " HeaderValueSeparator=" " />
<telerik:GridGroupByField FieldAlias="Count" Aggregate="Count" FieldName="No" FormatString="({0} Items)" HeaderText=" " HeaderValueSeparator=" " />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="Category" SortOrder="Descending" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<Columns>
<telerik:GridBoundColumn DataField="No" FilterControlAltText="Filter 編號" HeaderText="編號" UniqueName="編號" >
<HeaderStyle Width="8%" Wrap="False" HorizontalAlign="Center" />
<ItemStyle Width="8%" Wrap="False" HorizontalAlign="Left" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
It's show up like MyGrid.png , But Demo's Grid show up like Demo.png.