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

[Solved] Editable column selection and ordering

1 Answer 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nic
Top achievements
Rank 1
Nic asked on 29 May 2009, 07:24 PM
Hi there,

We have this requirement where the user will be able to popup a dialog to customize a gridview.

The dialog will have two lists, the left list holds columns not displayed and the right list holds columns displayed. The user will be able to move entries from left to right and vice versa. On the right (displayed) list, the user can also select an entry, and move it up and down to affect the ordering of the displayed columns in the gridview.

The user would be able to do this on a grid for which data has already been bound.

I'd appreciate help on how to proceed with this.

Thanks!
--Nic


1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 30 May 2009, 11:42 AM
Hello Nic,

You can use two list boxes combined with our drag and drop manager for Silverlight. Check out this example on how to achieve this. When an item is added/reordered in the right list you will need just to update the columns collection of RadGridView with appropriate changes. You will not have to rebind it when you add or remove columns.

Hope this helps.

Kind regards,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Nic
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or