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

[Solved] Column Hiding Issue

4 Answers 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John John
Top achievements
Rank 1
John John asked on 02 Mar 2010, 01:40 PM
HI,
     I have a problem in hiding the column. The column width is not ajudged properly. I used the Fixed table width and also uses following resizing properties.
  <ClientSettings AllowColumnHide="True" AllowRowHide="True" AllowColumnsReorder="True"    
                    ReorderColumnsOnClient="True">     
                    <Resizing EnableRealTimeResize="True" ResizeGridOnColumnResize="True" AllowColumnResize="true"    
                        ClipCellContentOnResize="false"></Resizing>    
                </ClientSettings> 

Example: I have three columns, after hidng the first column from the grid the second column width and text is wrapped ir shrinked. The long line wrapped by two line with the dot marks at the end.Other columns is seemed ok. So i am not getting the exact width after hiding.

-Thanks

4 Answers, 1 is accepted

Sort by
0
John John
Top achievements
Rank 1
answered on 03 Mar 2010, 06:30 AM
Any suggessions?
0
John John
Top achievements
Rank 1
answered on 03 Mar 2010, 03:15 PM
Hi,
        Any one please suggest me for my given question?

-Thanks
0
Schlurk
Top achievements
Rank 2
answered on 04 Mar 2010, 03:54 PM
How exactly are you hiding the columns? Is it via client-side of is it server-side? Also, have you set the HeaderStyle-Width property of the columns or have you just set the column's width? Setting the HeaderStyle-Width is always recommended since the column's width inherits from this I believe. Unfortunately your description is a bit confusing so if this suggestion doesn't help a screenshot might be a good things to post :)
0
John John
Top achievements
Rank 1
answered on 05 Mar 2010, 07:22 AM
Hi Schlurk,
           I already set the  HeaderStyle-Width property to all of the columns. My question is suppose i hide the first or any of the column the width of the second column has been shrinked or reduced. As a result af these if i am having the long text, the text become wrapped to fit with reduced second column width.

Hope you now you are able to understrand the scenario.

-Thanks
Tags
Grid
Asked by
John John
Top achievements
Rank 1
Answers by
John John
Top achievements
Rank 1
Schlurk
Top achievements
Rank 2
Share this question
or