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

RadTreeListView group columns being disappeard

2 Answers 83 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Chirag
Top achievements
Rank 1
Chirag asked on 18 Feb 2016, 01:27 AM

We are using Telerik Silverlight controls v2013.2.724.1050

When we navigate to the page first time control (RadTreeListView) load with column groups without any problem. Check Image attached.

After we navigate to another view and cause some action that should re-load grid data, this time data loads properly but without column groups.

What can we do to fix this issue?

We are loading group columns using code behind. Code snippet here ...

01.foreach (var headerColumn in gColumns)
02.        {
03.            _treeListView.ColumnGroups.Add(new GridViewColumnGroup()
04.            {
05.                Name = headerColumn.GroupName,
06.                Header = headerColumn.GroupHeader,
07.                HeaderTemplate = App.Current.Resources["GridViewColumnGroupHeaderTemplate"] as DataTemplate
08.            });
09.        }

I read this issue on forum and it mentioned that disabling EnableColumnGroupsVirtualization = false do the trick but I cant find that property anywhere even after including name space.

1.using Telerik.Windows.Controls.GridView;

Can someone look at this and suggest some solution ... If you need more info on this please let me know.

2 Answers, 1 is accepted

Sort by
0
Chirag
Top achievements
Rank 1
answered on 21 Feb 2016, 09:38 PM
Nothing from anyone ??
0
Ivan Ivanov
Telerik team
answered on 22 Feb 2016, 04:57 PM
Hello,

We have a similar issue that is logged in our system. Researching it further, it seems that its behavior is related to the point at which the column groups are generated? Can you please confirm whether the column groups are added on some specific event's occurrence, so that we can test whether the both problems lead to a common origin?
As for EnableColumnGroupsVirtualization, it is an instance property of RadGridView. You should be able to set it to a specific instance of RadGridView directly, without additional need to add other namespaces than Telerik.Windows.Controls (which hosts RadGridView).

Regards,
Ivan Ivanov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
TreeListView
Asked by
Chirag
Top achievements
Rank 1
Answers by
Chirag
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Share this question
or