Results 1 to 3 of 3

Thread: DataGrid with Fixed legend & scroll in ASP.NET

  1. #1
    MyersGray is offline Senior Member
    Join Date
    Dec 2009
    Posts
    197
    Rep Power
    3

    Default DataGrid with Fixed legend & scroll in ASP.NET

    I am learning programming language Asp.net. I want to know about the open source GridView Extension with scroll & fixed header? It should work on different browsers too. Any help would be appreciated.

  2. #2
    SullivanWalker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    189
    Rep Power
    3

    Default

    You can use a 2nd DataGrid for header & put it over the first one.

    The gridview could be placed in a scrolling DIV area.

    Code:
    <table>...<table>
    <div style="width: 300px; height: 300px; overflow: auto;">
    gridview
    </div>

  3. #3
    OrtizCooper is offline Banned
    Join Date
    Dec 2009
    Posts
    186
    Rep Power
    0

    Default

    Following style in your code and give the gridview or datagrid header style css.

    Code:
    .fixedHeader
    {
    font-weight:normal;
    position:absolute;
    background-color: #ffffff;
    color: #ffffff;
    height: 20px;
    top: expression(Sys.UI.DomElement.getBounds(document.ge tElementById("panelContainer")).y-20);
    
    }

Similar Threads

  1. Update datagrid
    By BarnesHarris in forum Programming
    Replies: 2
    Last Post: 07-10-2010, 01:14 PM
  2. new column in datagrid
    By MartinWilson in forum Programming
    Replies: 1
    Last Post: 02-17-2010, 05:37 PM
  3. Modify the blush of the boxes in a datagrid
    By WalkerCook in forum Programming
    Replies: 2
    Last Post: 02-13-2010, 02:41 PM
  4. VIBlend DataGrid for Silverlight
    By SmithJohnson in forum Operating System
    Replies: 1
    Last Post: 01-29-2010, 05:51 PM
  5. Scroll Further Down
    By alloy in forum Everything Else
    Replies: 0
    Last Post: 03-18-2009, 10:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48