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

Hide column(s) and adjust other column(s) width

1 Answer 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sirwan
Top achievements
Rank 1
Sirwan asked on 07 Mar 2015, 06:13 PM
Hi 
i want to hide a column based on a parameter value.
First: i can't figure out the expression i should write in group filter.
Second : i should adjust the other columns width, will this code do the job
Private Sub Table1_ItemDataBinding(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Table1.ItemDataBinding
        Table1.Body.Columns(index).Width = NewSize
End Sub

1 Answer, 1 is accepted

Sort by
0
Sirwan
Top achievements
Rank 1
answered on 10 Mar 2015, 12:38 PM
Thank's every body for not answering me :P
i figure it out my self.
Tags
General Discussions
Asked by
Sirwan
Top achievements
Rank 1
Answers by
Sirwan
Top achievements
Rank 1
Share this question
or