jssanshi / concerto-platform

Automatically exported from code.google.com/p/concerto-platform
0 stars 0 forks source link

HTML Table issue #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I generate a table incrementally (in the test logic, by adding one row at 
a time to a variable and then finally displaying it at the end through a 
variable in a HTML template), concerto is somehow adding two commas in each 
cell of the table. I have tried to include CSS lines to reset the style, but 
still there is no effect.

For each question, The following R statement adds to the HTML table,

c(score_tbl, "<tr><td>", slno, "</td><td>", dif_level, "</td><td>", is_correct, 
"</td></tr>")

Please see attached screenshot of the table.

Please tell me how to get rid of these annoying commas.

The system runs on RHEL. I am using the latest concerto version.

Appreciate your help. 

Regards,
Rama

Original issue reported on code.google.com by ramat...@gmail.com on 19 Oct 2012 at 4:32

Attachments:

GoogleCodeExporter commented 9 years ago
try:

paste(score_tbl, "<tr><td>", slno, "</td><td>", dif_level, "</td><td>", 
is_correct, "</td></tr>", collapse="")

Regards,
Sebastian

Original comment by Sebastia...@gmail.com on 23 Oct 2012 at 4:33

GoogleCodeExporter commented 9 years ago
That worked.
Many Thanks!

Regards,
Rama

Original comment by ramat...@gmail.com on 26 Oct 2012 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by LisPrzem...@gmail.com on 7 Dec 2012 at 10:26