03-04-2007 06:49 PM - edited 03-04-2007 06:49 PM
Message Edited by q123456789 on 03-04-2007 06:51 PM
03-04-2007 09:55 PM
Hi Mike,
@q123456789 wrote:
I want put two tables in the same line in an HTML report....
The trick is to create a table with two cells in the first/only row, then nest your first table in the first cell and nest the second table in the second cell. The syntax would look like this:
<table><tr>
<td><table>you're first table detail</table></td>
<td><table>you're second table detail</table></td>
</tr></table>
Cheers!
03-04-2007 10:41 PM
Hello tbd and thanks for the help.
Actually I don't have much knowledge about the HTML scripts. When you said in the script : you're first table detail . How the table details can be added as they are obtained from a 2D Array calculated in different VI.
Could you please explain more
Thanks
Mike
03-05-2007 12:46 AM - edited 03-05-2007 12:46 AM
Hi Mike,
Sorry, I should have realized you were using LabVIEW's HTML VIs - and it doesn't look like they provide for Table "Nesting" (at least through 7.1)!
Here's a couple of VIs that might help you out. Util.HTML.Table builds the HTML for a table. SideBySide.vi uses this Util to embed two tables into an HTML Report.
I whipped these up just for you - so they may need "polishing". Should you need to fine-tune the table-appearance, I'm afraid you're on your own, though there's lots of help on the web. Don't worry, HTML is pretty easy - and you'll find a nice HTML resource here.
Cheers!
Message Edited by tbd on 03-05-2007 12:47 AM
03-05-2007 02:12 AM
Thanks tbd,
That was very helpful. I really do appreciate your help.
All the best
Mike