This is a migrated thread and some comments may be shown as answers.

javascript for making columns visibility true and false

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Krystal
Top achievements
Rank 1
Krystal asked on 03 Jun 2011, 10:24 PM
i have a grid and image button.on image button click i need to hide some columns of radgrid and another click of the same button i need to make the columns visibility true using javascript.

Can you please send me  sample code to do so as soon as possible.

1 Answer, 1 is accepted

Sort by
0
Gimmik
Top achievements
Rank 1
answered on 03 Jun 2011, 11:59 PM
Hi Krystal,

I made a post a while back about how to hide a column in a grid. You can find that post here:
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-do-i-place-a-hidden-id-column-into-a-grid.aspx

You should be able to apply this to your project.

Hope that helps,
-Gimmik
Tags
Grid
Asked by
Krystal
Top achievements
Rank 1
Answers by
Gimmik
Top achievements
Rank 1
Share this question
or