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

[Solved] Mutiple Groups added in GridView

1 Answer 60 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.
Anwar Arakkal
Top achievements
Rank 1
Anwar Arakkal asked on 15 Aug 2009, 03:49 AM
Hi,

I am getting mutiple groups in the rad grid view. I am adding group programatically.
RadGridView1.GroupDescriptions.Add(new Telerik.Windows.Data.RadGroupDescription("ElementName"));

But whenever I load new data into the grid  a new group will form in to the exting one. How can I ignore this?

Thanks,
Anwar

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 17 Aug 2009, 07:07 AM
Hi Anwar,

In order to not form a new group you should bind the grid to some collection which is not observable. This way the grid won't be able to listen for collection change notifications and will not recreate its rows. If you want to rebind the grid afterwards you should call the Rebind() method.

All the best,
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
Anwar Arakkal
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or