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

Frozen / Pinned Rows

3 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Duncan
Top achievements
Rank 1
Duncan asked on 16 Apr 2012, 10:03 PM
Hello,

I am looking to add frozen / pinned row functionality to our grids, just like Excel.  I've already found this blog post and modified it for WPF.

http://blogs.telerik.com/blogs/posts/10-07-05/frozen-pinned-rows-in-radgridview-for-silverlight.aspx 

There are still a few items which I am struggling with.  The first, which is quite major, is that the sample simply uses auto generated columns.  That will not work for me, I need to specify the columns.  Our columns are defined in XAML and can be quite complex, with DataTemplates and a number of styling options configured.  I don't want to define those again somewhere, and even if I do I'm not sure how I would access them.  I simply want the columns that are already in the grid to appear in the frozen container as well.

The second item, is that the Column Headers are not appearing, not sure why.

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Apr 2012, 07:15 AM
Hi,

 There is such built-in functionality and the only option we can suggest you is to use the approach from this blog post.

Feel free to modify the code from the blog in the way you want!

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Duncan
Top achievements
Rank 1
answered on 17 Apr 2012, 04:35 PM
I understand it's not supported out of the box, which is too bad since it is part of the winforms control.  I am looking for some help in how to dynamically create copies of the existing columns so that I can place them into the frozen container.  Auto-Generated columns is really not an answer for the vast majority of cases.
0
Duncan
Top achievements
Rank 1
answered on 24 Apr 2012, 10:46 PM
Any tips on how to dynamically copy the existing columns and place them into the new frozen container?
Tags
GridView
Asked by
Duncan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Duncan
Top achievements
Rank 1
Share this question
or