Hi,
I have report with 10 columns inside, all textboxes inside report have CanShrink=True, and user before generation report choose, what columns he want to display(I'm just setting Visible property to True/False based on user choise). The problem is that if user want to display only one or two column report is left aligned with standart width of columns. I need something like GridView has -
I have report with 10 columns inside, all textboxes inside report have CanShrink=True, and user before generation report choose, what columns he want to display(I'm just setting Visible property to True/False based on user choise). The problem is that if user want to display only one or two column report is left aligned with standart width of columns. I need something like GridView has -
gridView1.MasterGridViewTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; |
gridView1.MasterGridViewTemplate.BestFitColumns(); |