Hiding DataGrid column

Discussion in 'ASP .Net' started by jack, May 11, 2007.

  1. jack

    jack Guest

    Hi all,
    My datagrid have too many columns which are going out of screen.
    one of the solution is to group the columns and make only the total
    column visible at the initial stage.


    What now i want to do is hiding and unhiding the column at the run
    time without the post back to the server.

    have anyone come across with such a kind of scenario please do suggest
    me.


    Thanks for replying me.
     
    jack, May 11, 2007
    #1
    1. Advertising

  2. jack

    Mark Rae Guest

    "jack" <> wrote in message
    news:...

    > What now i want to do is hiding and unhiding the column at the run
    > time without the post back to the server.
    >
    > have anyone come across with such a kind of scenario please do suggest
    > me.


    A DataGrid is just an HTML table once it gets rendered to the client
    browser...

    You can hide and show its various columns easily client-side with
    JavaScript:
    http://www.google.co.uk/search?sour...GGIH_en-GBGB220GB220&q=HTML table column hide


    --
    http://www.markrae.net
     
    Mark Rae, May 11, 2007
    #2
    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. Michelle Stone
    Replies:
    0
    Views:
    418
    Michelle Stone
    Oct 15, 2003
  2. David Freeman

    DataGrid - Hiding a Column - Not Working

    David Freeman, Oct 22, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    508
  3. BobRoyAce
    Replies:
    2
    Views:
    4,525
    BobRoyAce
    Jan 20, 2005
  4. samuel Mesel

    hiding a Datagrid column

    samuel Mesel, May 21, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    5
    Views:
    155
    Eliyahu Goldin
    May 27, 2004
  5. Ste
    Replies:
    41
    Views:
    811
    Thomas 'PointedEars' Lahn
    Aug 1, 2007
Loading...

Share This Page