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

Columns width

5 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
fer
Top achievements
Rank 1
fer asked on 14 Apr 2009, 02:19 PM
Hi, I have a problem setting the columns width.
I set a width for a particular column call "description" that is the 4th. column in the grid (for example) using HeaderStyle-Width, the problem is that when I scroll the grid horizontally, the column that is now in the 4th place takes the width of the column for wich I set that width.
any ideas?

5 Answers, 1 is accepted

Sort by
0
fer
Top achievements
Rank 1
answered on 15 Apr 2009, 08:39 PM
y loco?
0
Princy
Top achievements
Rank 1
answered on 16 Apr 2009, 07:20 AM
Hello,

Try setting the TableLayout property of the MasterTableView and the Resizeable property of the fourth column to false and see if it helps.
aspx:
   <telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server">    
      <MasterTableView TableLayout="Fixed" DataSourceID="SqlDataSource1">        
        <Columns> 
          ......        
         <telerik:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name" Resizable="false"></telerik:GridBoundColumn> 
          ..... 

Thanks
Princy.
0
fer
Top achievements
Rank 1
answered on 16 Apr 2009, 01:25 PM
Sorry, but it doesnt help...
any other idea?

thanks!
0
Pavlina
Telerik team
answered on 17 Apr 2009, 01:41 PM
Hi Fer,

I am sending you a small runnable application with the implementation request by you. Give it a try and see if it works for you or if I am leaving something out.
 
Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
fer
Top achievements
Rank 1
answered on 17 Apr 2009, 01:46 PM
thanks a lot. I could make it work, but only in IE 6.
Right now, we need only to work in that browser, so we are ok with the solution suggested

thanks!
Tags
Grid
Asked by
fer
Top achievements
Rank 1
Answers by
fer
Top achievements
Rank 1
Princy
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or