Revision 4897
Added by ben leinfelder over 15 years ago
download.jsp | ||
---|---|---|
306 | 306 |
//add column to data header row |
307 | 307 |
header.add(1, null); |
308 | 308 |
} |
309 |
|
|
310 |
//replace the "studentId" label |
|
311 |
int temp = header.indexOf("studentid"); |
|
312 |
if (header.remove(temp) != null) { |
|
313 |
header.add(temp, "recordNum"); |
|
314 |
} |
|
315 |
|
|
309 | 316 |
//put the data header row on the table |
310 | 317 |
retTable.add(header.toArray(new String[0])); |
311 | 318 |
|
Also available in: Unified diff
use recordNum instead of studentId for transposed data