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

RadGrid and Grouping problem

5 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lasly
Top achievements
Rank 1
Lasly asked on 21 Feb 2012, 02:37 PM

Hi!

i have a radgrid with several pages and a grouping. When i close the grouping it is shown at the end of every single page.

There is one way to visualize the sequence of the grouping in the same page?

Thanks in Advance

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 24 Feb 2012, 10:35 AM
Hello Lasly,

I am not sure if I understand what is the exact grouping problem which you are facing. Can you please elaborate a bit more in the details? Providing screenshots could also help.

Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Lasly
Top achievements
Rank 1
answered on 24 Feb 2012, 11:38 AM
Hello Pavlina ,
I have attached the screenshots .

The problem is:
When the grouping are closed there is space between them.
Thanks
0
Pavlina
Telerik team
answered on 24 Feb 2012, 02:02 PM
Hello,

I am afraid that we have not encountered such problem before. Therefore, I will ask you to paste the grid declaration using the code formatter tool of the ticket editor. Also, please specify which version of RadControls you are using in your application.

Thank you for your cooperation in advance.

Can you please provide eh
Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Lasly
Top achievements
Rank 1
answered on 24 Feb 2012, 03:53 PM
<telerik:RadGrid ID="grdComposizionePortafoglio" runat="server" OnNeedDataSource="grdComposizionePortafoglio_NeedDataSource"
                OnDeleteCommand="grdComposizionePortafoglio_DeleteCommand">
                <MasterTableView DataMember="PARTICELLE" GroupsDefaultExpanded="false" DataKeyNames="idPortPart">
                    <Columns>
                             

                            <

 

 

telerik:GridBoundColumn DataField="ue" UniqueName="ue" HeaderText="UE">

 

 

 

                            </telerik:GridBoundColumn>

 

 

 

                            <telerik:GridDropDownColumn DataField="tipocatasto" ListDataMember="TIPOCATASTO"

 

 

 

                            ListValueField="id" ListTextField="descrizione" UniqueName="catasto" HeaderText="Catasto">

 

 

 

                            </telerik:GridDropDownColumn>

 

 

 

                            <telerik:GridNumericColumn DataField="foglio" UniqueName="Foglio" HeaderText="Foglio">

 

 

 

                            </telerik:GridNumericColumn>

 

 

 

                            <telerik:GridNumericColumn DataField="particella" UniqueName="particella" HeaderText="Particella">

 

 

 

                            </telerik:GridNumericColumn>

 

 

 

                            <telerik:GridNumericColumn DataField="subalterno" UniqueName="Subalterno" HeaderText="Subalterno">

 

 

 

                            </telerik:GridNumericColumn>

 


                   
</Columns>
                </MasterTableView>
            </telerik:RadGrid>
In onInit method I set the group  by expression:
GridGroupByExpression groupByExpression = new GridGroupByExpression();
GridGroupByField groupedField = new GridGroupByField();
GridGroupByField selectedField = new GridGroupByField();
  
groupedField.FieldName = "ue";
selectedField.FieldName = "ue";
  
groupByExpression.GroupByFields.Add(groupedField);
groupByExpression.SelectFields.Add(selectedField);
grdComposizionePortafoglio.MasterTableView.GroupByExpressions.Add(groupByExpression);
Versione Telerik.Web.UI 2011.3.1202.40


Thanks
0
Pavlina
Telerik team
answered on 01 Mar 2012, 06:47 AM
Hello,

I will test the provided code and will get back to you with further information.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Lasly
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Lasly
Top achievements
Rank 1
Share this question
or