This is a migrated thread and some comments may be shown as answers.

Group Split Message Not Showing

2 Answers 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anoop
Top achievements
Rank 1
Anoop asked on 02 Jan 2012, 12:28 PM
Hi,

I'm facing issue in grouping with custom paging set to true, I'm not getting any group split message even if the grouped items split into multiple pages. Here are my grid settings;

<telerik:RadGrid ID="Grid1" AllowPaging="true" AllowCustomPaging="true"
                                GroupingEnabled="true" ShowGroupPanel="false" ShowStatusBar="false" AutoGenerateColumns="false" VirtualItemCount="100000" 
                                runat="server" OnItemDataBound="Grid1_ItemDataBound"
                                OnNeedDataSource="Grid1_NeedDataSource">
                                <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" PagerTextFormat="Change page: {4} <strong><b>{5}</b> Items In <b>{1}</b> Pages </strong>" 
                                    PageSizeLabelText="Items Per Page : "  />
                                <GroupingSettings CollapseTooltip="Collapse client items" ExpandTooltip="Expand client items" RetainGroupFootersVisibility="true"  />
                                <MasterTableView EnableColumnsViewState="false" EnableViewState="true" TableLayout="Auto" ShowGroupFooter="true"
                                    GroupLoadMode="Client" >
                                    <GroupByExpressions>
                                        <telerik:GridGroupByExpression>
                                            <SelectFields>
                                                <telerik:GridGroupByField HeaderText="Client" FieldName="ClientNameWithID" SortOrder="Ascending" />
                                            </SelectFields>
                                            <GroupByFields>
                                                <telerik:GridGroupByField HeaderText="Client" FieldName="ClientNameWithID" SortOrder="Ascending" />
                                            </GroupByFields>
                                        </telerik:GridGroupByExpression>
                                    </GroupByExpressions>
</MasterTableView>
                                <ClientSettings AllowGroupExpandCollapse="true">
                                    <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="false" />
                                    <ClientEvents OnGridCreated="GridCreated" />
                                    <Resizing AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="False"
                                    AllowColumnResize="False"></Resizing>
                                </ClientSettings>
                            </telerik:RadGrid>

Also I'm doing advanced databinding mechanism to bind the values to grid.

Please help me to solve the problem,

Thanks
Anoop

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Jan 2012, 01:20 PM
Hello Anoop,

Check the following demo which implements the same.
Grid / Group By Expressions

-Shinu.
0
Anoop
Top achievements
Rank 1
answered on 02 Jan 2012, 01:45 PM
Hello Shinu,

Thanks for your reply, but this does not work for me, when I'm binding the grid without Custom pagination, the group split message shows without any problem, and when I'm setting it to true and changing the NeeddataSource event code to get only the specific rows, then the group split message is not showing.

Can any one help me to solve the problem,

Thanks,
Anoop
Tags
Grid
Asked by
Anoop
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Anoop
Top achievements
Rank 1
Share this question
or