Keeping the header on a gridview visible

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Um9iZXJ0IFNtaXRo?=

    Keeping the header on a gridview visible

    Hello,
    I have a gridview bound to a datasource, however there are many rows
    in the grid and the user has to scroll down and thus the header row is
    obscurred. Is there anyway of keeping these headers visible whilst the
    remaining rows move up and down.

    Thanks
    Robert
  • =?utf-8?Q?Teresita_N=C3=BA=C3=B1ez_-_SorCereSs_-_?

    #2
    Re: Keeping the header on a gridview visible

    hope this helps!

    One of the commonly asked question by developers is how to maintain headers of GridView in a fixed position. You must have observed that in Excel you can freeze top cells of your spread sheet. When you scroll down the headers are always visible making your sheet more readable. The same effect is often needed in GridView control especially if you are displaying many records at a time. In this article I will explain a technique that will allow you to achieve this with ease.


    --

    SorCereSs
    MCTS: NET Framework 2.0 - Web-Based Client Development
    MCPD: Web Developer
    Microsoft Student Partner - Paraguay

    Comment

    Working...