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

Reorder/Visibility Groups possible?

5 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 24 Jan 2014, 09:42 AM
Hello,

i'm using RadGridView to show many columns. Most columns have their groups. The request is to reorder or reset the visibility of the columns.

1). When i drag columns from a group to another, that will split the group header. That's horrible. I read another thead and know that could be refused using event ColumnReordering. Problem is, that allows any users to reorder columns inside of their group. Could they reorder the whole group with a easy way in RadGridView?

2). Obviously we can reset the visibility of columns. Is there a way to set visibility of whole group? Or perhaps is that only way to set all the columns one by one inside the group.

Thanks a lot!

Ivan

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 29 Jan 2014, 11:51 AM
Hello Ivan,

As to your questions:
1. I am afraid reordering a whole group is not supported? Generally you can control how the columns will be reordered through the ReorderColumnsModesetting of RadGridView. Then, when the ColumnReordering event is raised you can cancel the requested reorder.

2. You could control the visibility per column's level only.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Ivan
Top achievements
Rank 1
answered on 29 Jan 2014, 12:16 PM
Hello,

e.g. I have 5 Groups, and want to reorder a column of last group to second column position ( behind first column of first group ). That will split the first group. If i cancel the requested reorder with ColumnReordering event, the poor column has no more chance to step forward, right? That's a pity...
Thanks anyway.

Ivan
0
Dimitrina
Telerik team
answered on 29 Jan 2014, 12:48 PM
Hi,

I am not sure what you mean that if you "cancel the requested reorder with ColumnReordering event, the poor column has no more chance to step forward". Would you please clarify?

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Ivan
Top achievements
Rank 1
answered on 29 Jan 2014, 12:58 PM

Hello,

i mean the reorder request from first column (ColumnA) of 5th group will be cancelled, when i try to reoder the column behind the first column of 1st group(ColumnB), because ColumnB is already in a group. So i can only reorder the ColumnA in front of / behind the 1st group. If i want to keep all columns of 5th group together, i must reorder all the columns one by one.

Ivan

0
Accepted
Dimitrina
Telerik team
answered on 30 Jan 2014, 12:51 PM
Hello Ivan,

Yes, you are right. Unfortunately the ColumnGroups cannot be reordered themselves.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Ivan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or