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

Grouping issues

8 Answers 160 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Trevor
Top achievements
Rank 1
Trevor asked on 05 Feb 2008, 11:02 PM
I'm converting a page to use the new Prometheus grid that was using the old grid.

Everything seems to be OK except for the grouping functionality.  I can drag a column into the group panel and it groups properly, but after that I can drag anymore columns and I can't drag any columns out of the group panel.  Attempting to expand/collapse a group gives a javascript error.

If I leave the page and come back in, everything is fine until I try to change the grouping again.

Anyone else experience anything like this?

Thanks,

Greg

8 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 08 Feb 2008, 08:04 AM
Hello Greg,

Do you get that with the online demos like this one?

http://www.telerik.com/demos/aspnet/prometheus/Grid/Examples/GroupBy/OutlookStyle/DefaultCS.aspx

Any details/steps on reproducing the problem would be of great help in resolving it.

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Trevor
Top achievements
Rank 1
answered on 12 Feb 2008, 05:37 PM
That demo seems to work OK, but I have the expand/collapse turned on at the client and that one seems to be at the server level.

Greg
0
Konstantin Petkov
Telerik team
answered on 14 Feb 2008, 12:34 PM
Hello Greg,

This is correct but the Client mode load hierarchy demo is just below this one:

http://www.telerik.com/demos/aspnet/prometheus/Grid/Examples/GroupBy/GroupLoadModeClient/DefaultCS.aspx

Does that work as expected on your end?

Greetings,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
phuong nguyen
Top achievements
Rank 2
answered on 15 Feb 2008, 06:51 PM
I have the same problem. The crosshair to drag the columns seems to disapear after sort/grouping event. Also, scrolling bar is not working properly. The headers are not aligned correctly after sorting if scrollbar is on.
0
Konstantin Petkov
Telerik team
answered on 18 Feb 2008, 01:51 PM
Hello phuong,

Can you please provide more information on the problem? Do you got that on the online demos I referred previously?

I believe we will be able to help you faster if you isolate the issue in a sample runnable application and send it through regular support ticket.

Regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Trevor
Top achievements
Rank 1
answered on 28 Feb 2008, 10:48 PM

I am adding the columns dynamically at runtime so I don't know if that has something to do with it or not.  Phuong, are you doing the same thing?

I'm wondering if I am just missing setting a property of the field or something.

Here is the code I am using:

                           GridBoundColumn col = new GridBoundColumn();
                            rgProcesses.MasterTableView.Columns.Add(col);

                            col.DataField = fieldRow.FieldName;
                            col.UniqueName = fieldRow.FieldName;
                            col.HeaderText = fieldRow.FieldCaption;
                            if (fieldRow.FieldCaption.Length > 0)
                            {
                                col.AllowFiltering = true;
                                col.AllowSorting = true;
                            }
                            col.SortExpression = fieldRow.FieldSortName;
                            col.ItemStyle.VerticalAlign = VerticalAlign.Top;
                            col.ItemStyle.HorizontalAlign = (HorizontalAlign) fieldRow.FieldAlignment;
                            if (!fieldRow.IsFieldFormatNull())
                            {
                                col.DataFormatString = fieldRow.FieldFormat;
                            }
                            col.ItemStyle.Wrap = fieldRow.FieldWrap;

0
Vlad
Telerik team
answered on 29 Feb 2008, 08:35 AM
Hi Greg,

Please open a support ticket and send us an example which demonstrates these issues. We will review your scenario and we will get back to you with more info.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mitch
Top achievements
Rank 1
answered on 08 Sep 2008, 07:46 PM
The exact same thing was hapenning to me. It turned out, for me anyway, to be related to the RadAjaxManager and RadAjaxLoadingPanel controls. I have an aspx page that loads a radgrid contained in a user control. The user control had both a Manager and LoadingPanel, the aspx page accidentally had a LoadingPanel. Once I moved the Manager and LoadingPanel into the aspx page and removed them from the user control the grouping worked correctly.
Tags
Grid
Asked by
Trevor
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Trevor
Top achievements
Rank 1
phuong nguyen
Top achievements
Rank 2
Vlad
Telerik team
Mitch
Top achievements
Rank 1
Share this question
or