Я сделал telerikRadGrid и программно изменился, чтобы начать группировать.Но теперь мне нужно показать первую строку из каждой категории в свернутой строке, когда он свернут, а когда я расширяю контент, строка выпадает на первом месте.Могу ли я сделать это?
Я пытался найти что-то в Интернете, даже на официальном сайте RadGrid, но ничего не нашел.
<telerik:RadGrid ID="gvStatus" runat="server" Skin="Bootstrap" CssClass="GridDesign" AllowPaging="True" OnNeedDataSource="GvStatus_OnNeedDataSource"
AllowAutomaticUpdates="True" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowFilteringByColumn="True"
AllowSorting="True" AutoGenerateColumns="False" ShowGroupPanel="True"
EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" AutoGenerateHierarchy="True" EnableGroupsExpandAll="True" MasterTableView-AllowCustomSorting="True">
<PagerStyle Mode="NextPrevAndNumeric" />
<GroupingSettings CaseSensitive="False" ShowUnGroupButton="True" RetainGroupFootersVisibility="True" />
<ExportSettings FileName="Roles" IgnorePaging="True" OpenInNewWindow="True">
<Csv ColumnDelimiter="Semicolon" />
</ExportSettings>
<ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="True" />
<Scrolling AllowScroll="False" UseStaticHeaders="False" />
<ClientEvents></ClientEvents>
</ClientSettings>
<MasterTableView DataKeyNames="Product" ClientDataKeyNames="Product" CommandItemDisplay="Top" PageSize="10"
Width="100%" BackColor="white" HierarchyDefaultExpanded="False" EnableGroupsExpandAll="True" HierarchyLoadMode="ServerBind" GroupsDefaultExpanded="False">
<GroupByExpressions>
<telerik:GridGroupByExpression>
<GroupByFields>
<telerik:GridGroupByField FieldName="Product" />
</GroupByFields>
<SelectFields>
<telerik:GridGroupByField FieldName="Product" />
</SelectFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
ShowExportToCsvButton="true" ShowExportToPdfButton="true"></CommandItemSettings>
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="Product" HeaderText="Product" UniqueName="Product"
SortExpression="Product" Groupable="True">
<HeaderStyle ForeColor="#333333" HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Customer" HeaderText="Customer" UniqueName="Customer"
SortExpression="Customer" Groupable="True">
<HeaderStyle ForeColor="#333333" HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Agent" HeaderText="Agent" UniqueName="Agent"
SortExpression="Agent" Groupable="True">
<HeaderStyle ForeColor="#333333" HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataType="System.DateTime" DataField="PlacementDate" HeaderText="PlacementDate" UniqueName="PlacementDate" DataFormatString="{0:dd/MM/yyyy}">
<HeaderStyle HorizontalAlign="Center" ForeColor="#333333" Width="150px" />
<ItemStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Status" HeaderText="Status" UniqueName="Status"
SortExpression="Status" Groupable="True">
<HeaderStyle ForeColor="#333333" HorizontalAlign="Center" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
Я бы хотел, чтобы таблица поднималась на первую строчку, когда она свернулась