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

UseStaticHeaders issue with scrolling and Chrome

2 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Giovanni asked on 31 Jul 2012, 03:36 PM
Hello,
I've a strange beahaviour with the RadGrid when I set UseStaticHeaders to True. I set this parameter to True because I want that the header remain fix when I scroll the rows with the vertical scrollbar..
I need to resize the columns too, so when I resize a column the horizontal scroll bar can be shown. When I scroll the Grid with the horizonal scrollbar I have a strange issue only with Chrome Browser. Internet Explorer and Firefox works fine.

As you can see in the attachments, in Chrome the header remain fix and when I scroll horizonally the content of the grid, the header doesn't scroll. In Firefox and Internet Explorer all works fine.

How can I fix the problem? I've try to see if I can override some CSS class, but I think that the header scrolling is made by javascript when UseStaticHeaders  is set to true. Is it correct?

Thanks for the help!

2 Answers, 1 is accepted

Sort by
0
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
answered on 31 Jul 2012, 03:51 PM
Ok, I think that is a issue with jQuery Tabs and Grid.
If I put the Grid outside the Tabs I don't have that behaviour, but I have another strange problem (only on Chrome).
I'll check tomorrow.

Thanks
0
Pavlina
Telerik team
answered on 03 Aug 2012, 02:57 PM
Hello Giovanni,

I suggest that you try calling the repaint() method of RadGrid manually via Javascript and see if it makes any difference. Please review the help article below for more information:
http://www.telerik.com/help/aspnet-ajax/grid-repaint.html

All the best,
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
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Pavlina
Telerik team
Share this question
or