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

Hepl Please :) RADGrid CSS-bottom-border disappears

2 Answers 138 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Angelo
Top achievements
Rank 1
Angelo asked on 03 Jan 2014, 05:52 AM
Hello,

I'm using the RadGrid feature of freezing columns like what one can easily do in MS Excel.
Here's my rad grid mark-up (also in attached JPG file 001 - Markup.jpg)

<telerik:RadGrid
ID="GV"
runat="server"
Width="1100px" 
Height="450px" Skin="Forest"  
AutoGenerateColumns="false" ...>

..later
<ClientSettings
>
  <Scrolling AllowScroll="True" 
    UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1" />
</ClientSettings>

</
telerik:RadGrid>


The grid is rendering correctly if i don't set the radgrid height property to a value.

 However, when i set the height property of the RadGrid 

Height="450px"


The bottom-border disappears below the dynamically generated
horizontal scrollbar in the RADGrid as illustrated in attached file 002 - grid result.jpg.

I didn't use any fancy css customization and had as much tried to minimize modifying the skin to just out of the box
in terms of the css.

Any ideas how I can fix this and make the bottom border show properly?

Regards,
Angelo


2 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 07 Jan 2014, 11:58 AM
Hi Angelo,

Thank you for contacting us.

To avoid the described issue I suggest you to set the RadGrid.ClientSettings.Scrolling.ScrollHeight property instead of RadGrid.Height. For example:
<telerik:RadGrid
ID="GV"
runat="server"
Width="1100px"
Skin="Forest" 
AutoGenerateColumns="false" ...>
 
..later
<ClientSettings >
  <Scrolling AllowScroll="True"
    UseStaticHeaders="true" SaveScrollPosition="true" ScrollHeight=”400px” FrozenColumnsCount="1" />
</ClientSettings>
 
</telerik:RadGrid>

More information about grid's Height and ScrollHeight you can find here:
http://www.telerik.com/help/aspnet-ajax/grid-height-vs-scrollheight.html

If you need further assistance, do not hesitate to contact us again.

Regards,
Radoslav
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.
0
Angelo
Top achievements
Rank 1
answered on 05 Feb 2014, 04:01 AM
thank you!
Tags
Grid
Asked by
Angelo
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Angelo
Top achievements
Rank 1
Share this question
or