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

re-adding columns that have been made visible

1 Answer 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 27 Jan 2010, 11:07 PM
Hi,
   Is there anyway of making visible columns that have been previously been made invisible programmatically.

We have a show all button that we would like to make all columns visible, however once they have been made visible = false, this can't be changed.

Regards

Robert Smith

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Jan 2010, 10:17 AM
Hi Robert Smith,

Try using Display property instead of Visible in order to show/hide the column.

[ Display property indicates whether the cells corresponding to a column should be rendered with a 'display:none' style attribute. Visible property is useful if you do not want to show/hide a column or completely prevent cells from rendering, server-side. ]

-Shinu.
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or