Hi,
I am using RadGrid in my application. RadGrid is supporting to Resize the column/row dynamically. But on column/row size increse, text in each field is not adjusting properly.
Is there any option to wrap the text based on column/row size adjustment ?
(I tried with <ItemStyle wrap="True"/> but it could not do so as expected)
Thanks in advance,
Balaji Velasiri.
I am using RadGrid in my application. RadGrid is supporting to Resize the column/row dynamically. But on column/row size increse, text in each field is not adjusting properly.
Is there any option to wrap the text based on column/row size adjustment ?
(I tried with <ItemStyle wrap="True"/> but it could not do so as expected)
Thanks in advance,
Balaji Velasiri.
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 28 Aug 2008, 10:57 AM
Hi Balaji,
The Wrap property is true by default. But for the wrap to take place properly make sure that the cell text contains white space in between. Also set the TableLayout to Fixed so that wrapping will occur in accordance with column resizing.
ASPX:
Thanks
Shinu.
The Wrap property is true by default. But for the wrap to take place properly make sure that the cell text contains white space in between. Also set the TableLayout to Fixed so that wrapping will occur in accordance with column resizing.
ASPX:
<MasterTableView DataSourceID="SqlDataSource1" TableLayout="Fixed" > |
Thanks
Shinu.
0
Hello Balaji,
If your cell content is very long and there are no spaces in it your text can break the cells and leave the cell border. This is browser behavior and it occurs in all browsers except Internet Explorer. Possible workaround is to set TableLayout to fixed as suggested below. This will enable long text to be clipped if there are no empty spaces.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
If your cell content is very long and there are no spaces in it your text can break the cells and leave the cell border. This is browser behavior and it occurs in all browsers except Internet Explorer. Possible workaround is to set TableLayout to fixed as suggested below. This will enable long text to be clipped if there are no empty spaces.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
TeleBart
Top achievements
Rank 1
answered on 20 Jan 2009, 02:59 PM
Hi there,
I am also using RadGrid and Resize column works fine in Fire Fox but not in IE. When I go over with mouse indicatar on header's vertiacal bar, nothing is happening.
please help
Bart
I am also using RadGrid and Resize column works fine in Fire Fox but not in IE. When I go over with mouse indicatar on header's vertiacal bar, nothing is happening.
please help
Bart
0
Hi Bart,
It seems that column resizing does not work in IE, because some Javascript calculations (related to positioning) do not work correctly when RadGrid is placed inside an absolutely positioned container. We will research this. Sorry about the inconvenience. I have updated your Telerik points for this bug report.
Regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
It seems that column resizing does not work in IE, because some Javascript calculations (related to positioning) do not work correctly when RadGrid is placed inside an absolutely positioned container. We will research this. Sorry about the inconvenience. I have updated your Telerik points for this bug report.
Regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.