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

[Solved] Grid columns resizing

1 Answer 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 09 Feb 2008, 07:51 PM
I hate to be picky, but this behavior really bothers me and I'd like to correct it.

I have my grid columns setup with fixed widths using
<ItemStyle Width="##" /> 

I'm using GridTemplateColumns and I'm defining the width of the labels, textboxes, and comboboxes so that they fit within my itemstyle width. The edit command column does not have a width specified so that it fills the rest of the grid.

However, when I click on edit (inline), the columns resize a little bit and the text shifts a bit. Not a huge deal, but I'd really like it if the columns wouldn't resize on edit. Can this be done? Thanks.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Feb 2008, 07:54 AM
Hi Philip,

Cells are resized probably due to textboxes created for editing - if you set width in percentage for these textboxes you will able to avoid this resize.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Philip
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or