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

Why, in a RadGrid's ClientSettings Does UseStaticHeaders Need to be True in order for the FrozenColumnsCount Property to be Observed ?

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karrie
Top achievements
Rank 1
Karrie asked on 06 Jun 2013, 05:11 PM
Greetings, 

I've read on some old forum threads that a RadGrid's ClientSettings must set UseStaticHeaders to "true" in order for FrozenColumnsCount > 0 to take effect.

We've also observed this behavior in our use of the ClientSettings.

1) Please confirm : Must UseStaticHeaders be set to "true" in order for FrozenColumnsCount > 0 to take effect ? 

2) If #1 is confirmed, Why ?   Why was the control designed this way ? 


  • This dependency doesn't seem to make sense from a technical perspective either; in fact, it seems like it'd be harder (more complex) for Telerik to enforce/create the frozen column behavior in a UseStaticHeaders="True" scenario as compared to a UseStaticHeaders="False" due to the way UseStaticHeaders actually renders the RadGrid HTML (which is in separate HTML tables).
  • This dependency doesn't seem to make logical/ use case perspective. Isn't a common scenario one where a user doesn't want the headers fixed but does want a column or two fixed ?


3) If #1 is confirmed, is this strange, undocumented dependency already fixed in the 2013 release(s)? If not, will it be decoupled soon?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 11 Jun 2013, 11:51 AM
Hello,

StaticHeaders needs to be enabled because are required for the frozen column functionality. Basically when you want the column to be static you mean all of its parts, this includes header cells and item cells.

May I ask why you need to have the frozen columns functionality without static headers?

Regards,
Andrey
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Karrie
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or