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

Fix the Header

6 Answers 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yoon-Ho Choi
Top achievements
Rank 1
Yoon-Ho Choi asked on 08 Apr 2010, 09:54 AM
Hi All

When I scroll down some page

I wanna Fix the Header line,

and only Item lines scrolling down and up


Headline #1 Headline #2 Headline #3
#3    
#4    
#5    
#6    
Like EXCEL Windows - Fix the line

Can I do this in grid?

6 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Apr 2010, 10:53 AM
Hello Yoon-Ho Choi,

Please refer to

http://www.telerik.com/help/aspnet-ajax/grdscrollwithstaticheaders.html

Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Shinu
Top achievements
Rank 2
answered on 08 Apr 2010, 11:00 AM

Hello,

Set the ClientSettings-Scrolling-UseStaticHeaders property to True in order to set the header on top and not to scroll with the grid items.

ASPX:

 
        . . .  
      </Columns>  
      </MasterTableView>  
            <ClientSettings>  
                <Scrolling AllowScroll="True" UseStaticHeaders="True">  
                </Scrolling>  
                   . . . 

Checkout the online demo which shows the feature: Scrolling

-Shinu.

0
Yoon-Ho Choi
Top achievements
Rank 1
answered on 09 Apr 2010, 01:03 AM
Thank You Shinu

It's simple and very helpful to me

Have a nice day
0
Yoon-Ho Choi
Top achievements
Rank 1
answered on 09 Apr 2010, 01:04 AM
Hi Dimo

It's very simple thank you very much
0
Lenny_shp
Top achievements
Rank 2
answered on 09 Apr 2010, 04:29 PM
2010.1.312.35
This does not work, I get a height of 0px instead.  Skin="Windows7"
GridLines="None" PageSize="50"
ShowGroupPanel="True"
 EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true"



If you use static headers when the grid's Width and Height properties are set to "100%", the Web page shows only the grid scrollbars;
0
Pavlina
Telerik team
answered on 12 Apr 2010, 01:08 PM
Hello Leonid,

Could you paste your aspx and code-behind using the CodeFormatter tool of the ticket editor.

All the best,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Yoon-Ho Choi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Shinu
Top achievements
Rank 2
Yoon-Ho Choi
Top achievements
Rank 1
Lenny_shp
Top achievements
Rank 2
Pavlina
Telerik team
Share this question
or