Scroll bars on a datagrid

Discussion in 'ASP .Net Datagrid Control' started by UJ, May 13, 2005.

  1. UJ

    UJ Guest

    Can you have vertical scroll bars on a datagrid?

    TIA
     
    UJ, May 13, 2005
    #1
    1. Advertising

  2. You can wrap it in a DIV tag like this to get scrollbars:

    <div style="vertical-align: top; height:200px; width:100%; overflow:auto;">
    <asp:DataGrid runat="server" ...>
    ...
    </asp:DataGrid>
    </div>


    "UJ" <> wrote in message
    news:OcNgGO$...
    > Can you have vertical scroll bars on a datagrid?
    >
    > TIA
    >
     
    Ken Cox [Microsoft MVP], May 14, 2005
    #2
    1. Advertising

  3. UJ

    UJ Guest

    Cool - thanks.

    "Ken Cox [Microsoft MVP]" <> wrote in message
    news:...
    > You can wrap it in a DIV tag like this to get scrollbars:
    >
    > <div style="vertical-align: top; height:200px; width:100%;
    > overflow:auto;">
    > <asp:DataGrid runat="server" ...>
    > ...
    > </asp:DataGrid>
    > </div>
    >
    >
    > "UJ" <> wrote in message
    > news:OcNgGO$...
    >> Can you have vertical scroll bars on a datagrid?
    >>
    >> TIA
    >>

    >
    >
     
    UJ, May 14, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. S. Justin Gengo

    Re: DIVs and overflow scroll bars

    S. Justin Gengo, Jul 18, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    419
    S. Justin Gengo
    Jul 18, 2003
  2. rf
    Replies:
    0
    Views:
    439
  3. Paul F. Johnson
    Replies:
    4
    Views:
    345
  4. UJ
    Replies:
    1
    Views:
    584
    John Timney \(MVP\)
    Nov 1, 2006
  5. Oscar F

    Datagrid scroll bars

    Oscar F, Oct 14, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    99
    Alvin Bruney [MVP]
    Oct 19, 2004
Loading...

Share This Page