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

2 posts, 0 answers
  1. Sirwan
    Sirwan avatar
    3 posts
    Member since:
    Mar 2015

    Posted 07 Mar 2015 Link to this post

    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
  2. Sirwan
    Sirwan avatar
    3 posts
    Member since:
    Mar 2015

    Posted 10 Mar 2015 in reply to Sirwan Link to this post

    Thank's every body for not answering me :P
    i figure it out my self.
Back to Top