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

GridView Column Width

1 Answer 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Parthiv
Top achievements
Rank 1
Parthiv asked on 13 Apr 2011, 10:08 AM
hi 
i am update my radcontrol library  from 2010.2.812.1040 to 2011.1.315.1040
after update i am face one problem regarding column
in my application i am create grid's columns  dynamically in this  some of column is set to isvisible = false 
columns is not show but it's occupied some space between column   
dgtc = new GridViewDataColumn();
//dgtc.MinWidth = 100;
dgtc.IsReadOnly = true;
//dgtc.Width = GridViewLength.SizeToHeader;
 
if (element.Name == "ID")
{
    dgtc.MinWidth = 0;
    dgtc.MaxWidth = 0;                               
    dgtc.IsVisible = false;
}
dgtc.Header = element.Name
FormsGrid.Columns.Add(dgtc);

1 Answer, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 13 Apr 2011, 10:15 AM
Hello Parthiv,

 

We are aware of such as issue related to the GridViewDataColumn's IsVisible property, which has been resolved. You may try our latest internal build, where such a behavior cannot be observed. 

  
If you need any further assistance do not hesitate to contact us.

Regards,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Parthiv
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or