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

Problem while using Static Headers with scrolling

3 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dhaval
Top achievements
Rank 2
Dhaval asked on 11 Apr 2012, 02:44 PM
Hi There,

I am using Telerik RadGrid, and i have used scrolling option with static headers set to true, now the problem is i have rad splitter within which i have place my grid, now when i use to use RadSplitBar to minimize and maximize the pan, i get the columns that are set to "display:false". This should not be the case if i have set the values of HeaderStyle-width.

Moreover, on each refresh/rebind of a RadGrid  what i see is my Item Table remains as it is but my Header Template moves slightly towards left, this gives an alignment problem.

Note that when i set the Usestaticheader property to false i don't find such problems.

Help me out with this.

Regards,
Dhaval Shukla

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Apr 2012, 04:28 PM
Hello Dhaval,

Note that when static headers are enabled grid columns should declare HeaderStyle-Width. Also TableLayout property of MasterTableView should be set to Fixed.

I also suggest that you go through the online resources below:

http://www.telerik.com/help/aspnet-ajax/grid-scroll-with-static-headers.html

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=grid

Kind regards,
Pavlina
the Telerik team
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 their blog feed now.
0
Dhaval
Top achievements
Rank 2
answered on 18 Apr 2012, 02:32 PM
Hello Pavlina,

Thanks for your response, i have already set the Header-Style Width and Master Table views TableLayout to Fixed.

I have herewith attached the sample image of what the actual problem is while scrolling.

Note: I have used frozen columns.

Regards,
Dhaval Shukla


0
Pavlina
Telerik team
answered on 23 Apr 2012, 11:42 AM
Hi Dhaval Shukla,

Could you paste your aspx and code-behind (please, use the code formatter tool of the ticket editor)? Thank you.

Kind regards,
Pavlina
the Telerik team
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 their blog feed now.
Tags
Grid
Asked by
Dhaval
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Dhaval
Top achievements
Rank 2
Share this question
or