Freeze columns in GridView ASP.NET2.0(Urgent)

Discussion in 'ASP .Net' started by Guest, Jun 28, 2006.

  1. Guest

    Guest Guest

    Hi
    I am working with ASP.NET2.0, How can i freeze some of the columns of
    GridView Control.
    Thanks in Advance.
     
    Guest, Jun 28, 2006
    #1
    1. Advertisements

  2. Guest

    Guest Guest

    If you are talking about fixing column width try ItemStyle-Width attribute.
     
    Guest, Jun 28, 2006
    #2
    1. Advertisements

  3. Guest

    Guest Guest

    I am not talking about Fixing Column Width, but about freezing Columns, so
    that if i scrool with scroll bar, certain number of columns stay fixed on Ui
    and only the other ones move.
     
    Guest, Jun 28, 2006
    #3
  4. Guest

    Winista Guest

    That kind of UI will be so confusing to user. Think for a moment what will
    happen if one column in fixed and other columns move doen. Now the fixed
    column data is completely out of sync with rest of the columns. Nobody will
    be able to make any sense out the information in the grid. Also if you have
    header in grid, what kind of behavior r u looking for that... fixed too :)
    I can't even imagine what kind of UI it will look like.
     
    Winista, Jun 28, 2006
    #4
  5. Guest

    Mark Rae Guest

    What utter rubbish! That functionality has been part of every spreadsheet
    package for the last 10 years at least...
     
    Mark Rae, Jun 28, 2006
    #5
  6. Guest

    Winista Guest

    I don't think that is windows forms newsgroup.


     
    Winista, Jun 28, 2006
    #6
  7. Guest

    rjainx

    Joined:
    Oct 5, 2006
    Messages:
    1
    Likes Received:
    0
    Try it out

    I know its hard to freeze columns in grid view when its placed inside a panel to scroll. The only workaround you can try using 2 grid view controls and place them in 2 different panel control. The first gridview should have only freezable columns. for synch scrolling use scrolling events to scroll togeather.

    Another idea is to use Infragistics that has inbuild capability of scrolling and freezing.

    -R
     
    rjainx, Oct 5, 2006
    #7
  8. Guest

    Joined:
    Apr 10, 2007
    Messages:
    2
    Likes Received:
    0
    , Apr 10, 2007
    #8
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.