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

How do we set CSS style for Radgrid Frozen div

5 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 22 Sep 2016, 03:10 PM

Hi,

I can assign css style for Radgrid Frozen div using Radgrid name

div.RadGrid #rgGrid_Frozen
      {
           overflow-y: auto !important;
           overflow-x: auto !important;
      }

But i want to use this one globally like without Radgid ID.

This code is not working

div.RadGrid div#_Frozen
      {
           overflow-y: auto !important;
           overflow-x: auto !important;
      }

 

Please let me know 

 

Thanks,

 

5 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 27 Sep 2016, 08:54 AM
Hi Murugesan,

I am afraid you cannot use a global CSS rule since there isn't a class name specified to the element and the id is auto generated. Nevertheless, a possible solution is to use a jQuery to access the third div element of the grid which is the one you need.
Also why you need to set an overflow auto to the element since this style attribute is already apply?

Regards,
Kostadin
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
CHOON AIK
Top achievements
Rank 1
answered on 04 Oct 2016, 12:38 PM

Hi 

         In radgrid horizontal scroll bar was not working in chrome version 53. When i set frozen column count to zero it's working fine.I tried to apply the below code. It's not working. Can you share the demo to double check .

#<%=RadGrid1.ClientID %>_Frozen {
    overflow-x: scroll !important;

0
Kostadin
Telerik team
answered on 07 Oct 2016, 10:39 AM
Hello,

You can check out the following live example which demonstrates the horizontal scroll. Please check it in Chrome browser and let me know whether you are able to replicate the issue.

Regards,
Kostadin
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
CHOON AIK
Top achievements
Rank 1
answered on 12 Oct 2016, 01:19 AM

Hi Kostadin,

         Live example working in existing chrome version's. Current chrome version 53 , it's not working fine.I saw one thread for the issue of  chrome version 53 horizontal scroll bar. But unable to see the output.

http://www.telerik.com/forums/scrollbar-issue-in-chrome-with-usestaticheaders-and-frozen-columns

0
Kostadin
Telerik team
answered on 14 Oct 2016, 04:01 PM
Hi,

I am attaching a small sample where you can see how to apply this approach.

Regards,
Kostadin
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
Ravi
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
CHOON AIK
Top achievements
Rank 1
Share this question
or