I have a database of line items. There can be multiple prices assigned to a line item via a child table.
(if one record has 2 children, then ALL records will have 2 pricing children in this particular situation)
I would like to dynamically be able to display xx number of pricing columns for xx number of child records.
I have one way that I started to solve, that seems to work okay, but it can get messy. I have a column in my browse, where I dynamically generate xx table structures to go in that column. It seems to work okay. e.g., this might be inside a cell, representing one child record:
This is the kind of thing I'm generating.
<TABLE WIDTH="100%">
<TR>
<TH width="30%">M</TH>
<TH width="30%">L</TH>
<TH width="30%">E</TH>
</TR>
<TR>
<TD>$33.00</TD>
<TD>$220.00</TD>
<TD>$100.00</TD>
</TR>
</TABLE>
So, in theory, I could put a couple of tables in that cell.
But since I'm early into this project, I'm wondering if there's a "more nettalk" way of doing this. I don't wish to have a bunch of pre-designed hidden columns. There are a whole lot of different cost fields per child record, and depending on the kind of database, we'll display different fields.
Thanks and Best wishes
Jeff Slarve