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

[Solved] Wrap Cells

4 Answers 148 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pedro
Top achievements
Rank 1
Pedro asked on 23 Apr 2008, 10:38 AM
Hi,

I have a grid with several columns, I setup the grid to NOT wrap any column, but what is appening is that it doesn't work for datatime columns, all other work fine!

How can I correct this?

Thanks,
Pedro Camacho

4 Answers, 1 is accepted

Sort by
0
Pedro
Top achievements
Rank 1
answered on 23 Apr 2008, 11:10 AM
Hi Again,

I check in Firefox and works fine, this is IE problem.

Pedro
0
Iana Tsolova
Telerik team
answered on 23 Apr 2008, 12:51 PM
Hello Pedro,

I followed you scenario but unfortunately couldn't replicate the described behavior. Find attached a sample project and let me know how it goes on your end.

Additionally, you could try setting the DataFormatString of the GridDateTimeColumn to "<nobr>{0}</nobr>" and see if this helps.

Greetings,
Iana
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Princy
Top achievements
Rank 2
answered on 23 Apr 2008, 12:55 PM
Hi,

Try setting the TableLayout to Auto.

ASPX:
<MasterTableView PageSize="3" CommandItemDisplay="Top"  TableLayout="Auto"    > 
 

Princy.
0
Pedro
Top achievements
Rank 1
answered on 23 Apr 2008, 01:51 PM
Hi,

Thanks Iana and Princy for you effort and reply!

It works with Iana sugestion:

«Additionally, you could try setting the DataFormatString of the GridDateTimeColumn to "<nobr>{0}</nobr>" and see if this helps.»

Thank you,
Pedro
Tags
Grid
Asked by
Pedro
Top achievements
Rank 1
Answers by
Pedro
Top achievements
Rank 1
Iana Tsolova
Telerik team
Princy
Top achievements
Rank 2
Share this question
or