Hi,
I know this question has been asked again and again, and I tried the suggested things from the solutions provided for same question before, but nothing is helping. I am adding the code for table with 4 columns and 4 rows, but the real table has 50+ columns and 10+ rows atleast. This table is generated from a servlet, so the number of rows and columns can grow even more.
It takes more than a minute to load on slow connection or machine with low memory.
Thanks,
Here is the code
<html>
<body><div>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr valign="top">
<tr valign="top">
<td width="10" class="header-light"><img src="blank.gif" width="10" height="1" border="0" alt=""></td>
<td width="10"><img src="blank.gif" width="10" height="1" border="0" alt=""></td>
<td width="100%"><p id="errorMessageField"></p
><p class="main-message"></p><
/td>
</tr>
<td width="10" class="header-light">
<img src="blank.gif" width="10" height="1" border="0" alt=""></td>
<td width="10">
<img src="blank.gif" width="10" height="1" border="0" alt=""></td>
<td width="100%" valign="top"><br>
<FORM NAME="ASSIGNMENT" METHOD="POST" ACTION="_ASSIGNMENT_">
<INPUT type="hidden" name="main" value="true"><INPUT type="hidden" name="op">
<div><table cellspacing="1" width="100%" cellpadding="4" border="1">
<tr valign="middle">
<th class="detail">Group</th>
<th colspan="3" class="detail">column header</th>
</tr>
<tr valign="middle">
<th width="200" > </th>
<th >test 1</th>
<th >test 2</th>
<th >test 3</th>
</tr>
<tr valign="middle" align="center" class="general">
<td>A G 1</td>
<td ><a href="">
<img height="18" width="25" alt="" border="0" name="__ASSIGNMENT_Default
_DELIMITER
_2_img" src="check.gif"></a>
<input name="__ASSIGNMENT_Default
_DELIMITER
_2" type="hidden" value="ASSIGNED">
</td>
<td ><a href="">
<img height="18" width="25" alt="" border="0" name="__ASSIGNMENT_HGFIag1
5920_DELIM
ITER_2_img
" src="check.gif"></a>
<input name="__ASSIGNMENT_HGFIag1
5920_DELIM
ITER_2" type="hidden" value="ASSIGNED">
</td>
<td ><a href="">
<img height="18" width="25" alt="" border="0" name="__ASSIGNMENT_60j4ER1
800003_DEL
IMITER_2_i
mg" src="dash.gif"></a>
<input name="__ASSIGNMENT_60j4ER1
800003_DEL
IMITER_2" type="hidden">
</td>
</tr>
<tr valign="middle" align="center" class="general">
<td>A G 2</td>
<td ><a href="">
<img height="18" width="25" alt="" border="0" name="__ASSIGNMENT_Default
_DELIMITER
_1069000_i
mg" src="check.gif"></a>
<input name="__ASSIGNMENT_Default
_DELIMITER
_1069000" type="hidden" value="ASSIGNED">
</td>
<td ><a href="">
<img height="18" width="25" alt="" border="0" name="__ASSIGNMENT_HGFIag1
5920_DELIM
ITER_10690
00_img" src="check.gif"></a>
<input name="__ASSIGNMENT_HGFIag1
5920_DELIM
ITER_10690
00" type="hidden" value="ASSIGNED">
</td>
<td ><a href="">
<img height="18" width="25" alt="" border="0" name="__ASSIGNMENT_60j4ER1
800003_DEL
IMITER_106
9000_img" src="dash.gif"></a>
<input name="__ASSIGNMENT_60j4ER1
800003_DEL
IMITER_106
9000" type="hidden">
</td>
</tr>
</table>
<p><INPUT type="checkbox" name="s_change">change</p>
</div></FORM>
</td>
<td width="10"><img src="blank.gif" width="10" height="1" border="0" alt=""></td>
</tr>
<tr valign="top">
<td width="10" class="header-light"><img src="blank.gif" width="10" height="1" border="0" alt=""></td>
<td width="10"><img src="blank.gif" width="10" height="1" border="0" alt=""></td>
<td width="100%"> </td>
</tr>
</table>
</div>
<SCRIPT language="JavaScript">
var inputs = [document.ASSIGNMENT.__ASS
IGNMENT_De
fault_DELI
MITER_2,
document.ASSIGNMENT.__ASSI
GNMENT_HGF
Iag15920_D
ELIMITER_2
,
document.ASSIGNMENT.__ASSI
GNMENT_60j
4ER1800003
_DELIMITER
_2,
document.ASSIGNMENT.__ASSI
GNMENT_Def
ault_DELIM
ITER_10690
00,
document.ASSIGNMENT.__ASSI
GNMENT_HGF
Iag15920_D
ELIMITER_1
069000,
document.ASSIGNMENT.__ASSI
GNMENT_60j
4ER1800003
_DELIMITER
_1069000];
var images = [document.ASSIGNMENT.__ASS
IGNMENT_De
fault_DELI
MITER_2_im
g,
document.ASSIGNMENT.__ASSI
GNMENT_HGF
Iag15920_D
ELIMITER_2
_img,
document.ASSIGNMENT.__ASSI
GNMENT_60j
4ER1800003
_DELIMITER
_2_img,
document.ASSIGNMENT.__ASSI
GNMENT_Def
ault_DELIM
ITER_10690
00_img,
document.ASSIGNMENT.__ASSI
GNMENT_HGF
Iag15920_D
ELIMITER_1
069000_img
,
document.ASSIGNMENT.__ASSI
GNMENT_60j
4ER1800003
_DELIMITER
_1069000_i
mg];
</SCRIPT>
</body>
</html>
Start Free Trial