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

problem with grouping

3 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jo
Top achievements
Rank 1
jo asked on 29 Mar 2010, 12:09 PM
hello,
I have a problem using the radgrid to do grouping.
I have enabled client grouping
server side :
 DocumentGrid.ShowGroupPanel = true;
            DocumentGrid.GroupingEnabled = true;
            DocumentGrid.ClientSettings.AllowGroupExpandCollapse = true;
            DocumentGrid.ClientSettings.AllowDragToGroup = true;
            DocumentGrid.ClientSettings.AllowExpandCollapse = true;
            
            DocumentGrid.MasterTableView.GroupLoadMode = GridGroupLoadMode.Client;
            DocumentGrid.MasterTableView.GroupsDefaultExpanded = true;

On the client page, the grouping panel is shown with a default grouping. I can add/remove grouping to/from the panel. The control however does not do any grouping.
The control however creates a new column to put the > symbols for grouping each time a new grouping column is added to the grouping panel. The records remain unsorted.

When i try this using a simple asp test project i can get grouping to work ok, however the application i am working on hosts the client controls as a Dotnetnuke module.

The following client events are intercepted:-
"gridView.onRowDataBound" -- modifies some of the data field formats/icons/links
"gridView.onCommand" -- intercepts the Paging command and returns cancel event in order to use own paging scheme.

Is there anything else i need to do client side to get this working ?



3 Answers, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 01 Apr 2010, 11:05 AM
Hello Peter,

Your approach seems fine to me.
The provided information is insufficient for us to find out the cause of the issue.

To make us able to assist you further, please open a formal support ticket and send the problematic  DotNetNuke module.

Sincerely yours,
Mira
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Peter Hunt
Top achievements
Rank 1
answered on 01 Apr 2010, 11:10 AM
Hi,
I made up a test project and raised a support ticket ----

Date: 3/31/2010 3:18:03 AM

Hello Peter,

I am afraid that Grouping with client-side binding is not supported. You must use server binding only in order to achieve client-binding.

Greetings,
Nikolay
the Telerik team



I found this a rather terse reply ----
Is there a particular reason why this cannot be achieved ?
Why is this not documented ?
Will this be possible in future versions ??



0
Mira
Telerik team
answered on 07 Apr 2010, 01:37 PM
Hello Peter,

Excuse me for misleading you in my previous post. I had not understood that you are using client-side binding.

I have forwarded this issue to our support team and it will be documented.
We will consider implementing the desired functionality in a future version of RadGrid.

Regards,
Mira
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
jo
Top achievements
Rank 1
Answers by
Mira
Telerik team
Peter Hunt
Top achievements
Rank 1
Share this question
or