priya
26 Jul 2006, 03:08 AM
I am showing an excel sheet which user can open/save in browser. I am doing it plainly by setting content type to excel in the JSP file. <%@page contentType="application/vnd.ms-excel" %>
The problem is data in some cells does not fit in defalut size. When long texts are entered I need to get it Word-wrapped, instead it widens the cell.
<td colspan="8" rowspan="4" class="veblack1" valign="top" style="width:10;wrap:auto;text-wrap:hard-wrap;word-wrap:break-word;overflow:hidden;">=TEXT("<%=lComments%>"," ")</td>
Thanks in advance..
priya
The problem is data in some cells does not fit in defalut size. When long texts are entered I need to get it Word-wrapped, instead it widens the cell.
<td colspan="8" rowspan="4" class="veblack1" valign="top" style="width:10;wrap:auto;text-wrap:hard-wrap;word-wrap:break-word;overflow:hidden;">=TEXT("<%=lComments%>"," ")</td>
Thanks in advance..
priya