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

[Solved] RadGrid dynamic no of columns width to be resizable

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
satya
Top achievements
Rank 1
satya asked on 10 Aug 2009, 07:25 AM
Hello ,

        I have a issue in arranging RadGrid columns , which will be dynamically added at runtime. No of columns differ from time to time.
       When i tried with TableLayout fixed i have all columns fixed in size but the date columns are appearing shrinked with out the calender control.
      When i tried removing TableLayout fixed for mastertableview all columns based on column length either come together if less or stetch if more no of columns. 
      Can any one suggest how to align the columns accordingly with the no of columns.
   
Thanks & Regards,
Satya.
 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Aug 2009, 11:28 AM
Hello Satya,

I recommend you try to set the table layout to fixed and manually set the width of each column:
column.HeaderStyle.Width = Unit.Pixel(80); 

Regards,
Daniel
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.
Tags
Grid
Asked by
satya
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or