we actually bought the new RadGrid and it's our first time to deal with it.
We have a RadGrid with winodws7 skin and when with drop a column to the header group, the Grid doesn't look good.
Here the screenshots (they are also attached):
Here the declaration:
<telerik:RadGrid runat="server" ID="GridProjectListRad" Skin="Windows7" AutoGenerateColumns="False" AllowSorting="true" Width="100%" AllowFilteringByColumn="true" AllowPaging="true" PageSize="10" ShowHeader="true" ShowFooter="false" ShowGroupPanel="true" > <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True"> <Selecting AllowRowSelect="True"></Selecting> <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="False"></Resizing>
<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="True" FrozenColumnsCount="1"></Scrolling>
</ClientSettings> <HeaderContextMenu EnableAutoScroll="True"></HeaderContextMenu> <ExportSettings IgnorePaging="true" OpenInNewWindow="true"> </ExportSettings> <GroupingSettings ShowUnGroupButton="false" />
<MasterTableView DataKeyNames="ProjectUID" AutoGenerateColumns="false" CommandItemDisplay="Bottom" AllowMultiColumnSorting="true" AllowFilteringByColumn="True" > <RowIndicatorColumn Visible="True"></RowIndicatorColumn>
<Columns>
<telerik:GridHyperLinkColumn HeaderText="ProjectName" UniqueName="ProjectName" DataTextField="ProjectName"
SortExpression="ProjectName" HeaderStyle-Width="40%" FilterControlWidth="95%" />
<telerik:GridBoundColumn HeaderText="ProjectLeader" DataField="ProjectLeader" UniqueName="ProjectLeader"
SortExpression="ProjectLeader" HeaderStyle-Width="15%" FilterControlWidth="85%" />
<telerik:GridDateTimeColumn HeaderText="LastReport" DataField="LastReport" UniqueName="LastReport" SortExpression="LastReport" HeaderStyle-Width="15%" FilterControlWidth="85%" /> <telerik:GridBoundColumn HeaderText="LastModifiedBy" DataField="LastModifiedBy" UniqueName="LastModifiedBy" SortExpression="LastModifiedBy" HeaderStyle-Width="15%" FilterControlWidth="85%" />
<telerik:GridBoundColumn HeaderText="Status" DataField="Status" UniqueName="Status"
SortExpression="Status" HeaderStyle-Width="15%" FilterControlWidth="85%" ReadOnly="true" > <FilterTemplate> <telerik:RadComboBox runat="server" ID="FilterComboStatus" AutoPostBack="true" Filter="Contains" Skin="Windows7" Width="99%" OnSelectedIndexChanged="FilterComboStatus_SelectedIndexChanged"OnClientLoad="OnClientSelectedIndexChangedHandler" > </telerik:RadComboBox> </FilterTemplate>
<HeaderStyle HorizontalAlign="Center"></HeaderStyle> <ItemStyle HorizontalAlign="Center"></ItemStyle> </telerik:GridBoundColumn>
</Columns>
</MasterTableView> <SortingSettings EnableSkinSortStyles="false" /> </telerik:RadGrid>So, did we miss something? Why does the RadGrid look so bad after grouping?
Plus, how to allow multi grouping? Because each time we drop a column in the group header, it will replace the older one.
Thank you
William