House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfgrid and text

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Chad Gray
04/09/2008 10:01 AM

I am about ready to give up on CFGrid and switch back to a standard html table.   I just can't get it to do what I want.  I love the features it automatically provides like sorting, paging data and column re-arranging but it is a little too limiting. Right now I have a long paragraph of text and it gets chopped off in the field. Is there any way to get the text to word-wrap so the row height automatically expands to display all of the type?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Chad Gray
04/09/2008 12:28 PM

Thanks Dan!  Works great in firefox, but not IE. I will keep experimenting and see if I can get IE to do it. I actually just saw that someone came up with a hack to solve this. http://www.dwmommy.com/?day=4/5/2008&rss=true#blog623 Dan ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Chad Gray
04/09/2008 01:02 PM

Cool I found some css for IE to.  I had to apply it to the td for some reason to get it to work.  It does screw up the paging arrows also.  It is close! http://msdn2.microsoft.com/en-us/library/ms531186(VS.85).aspx <style type="text/css"> div .x-grid-cell-text{white-space:normal;} td {word-wrap:break-word;width:450px;left:0;} </style> Thanks Dan!  Works great in firefox, but not IE. I will keep experimenting and see if I can get IE to do it. I actually just saw that someone came up with a hack to solve this. http://www.dwmommy.com/?day=4/5/2008&rss=true#blog623 Dan ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

March 19, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31