Hiding DataGrid column

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jack

    #1

    Hiding DataGrid column

    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.

  • Mark Rae

    #2
    Re: Hiding DataGrid column

    "jack" <gautams.mail@g mail.comwrote in message
    news:1178875447 .863175.241200@ p77g2000hsh.goo glegroups.com.. .
    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:



    --


    Comment

    Working...