Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3740

Is it possible to build multiple rows per one line item?

$
0
0

I was wondering if it is possible to do something like this in Datatables.

I have two database tables set up. One table is where the supplier's bid information is held and the other is where the buyer's information is held. In the buyer's table, the primary key is the lane id. In the supplier's table, the primary key is the lane id and the supplier's name. In our current set up we have a compound key set up so when the supplier inserts a bid it will take the buyer's lane id and associate that in the supplier's table.

What I am wanting is to set up a table where there is one row with the buyer's information on it and the ability to set up more than one row for the supplier's entry just like in the picture above. Can I do this in one table without having to create two tables? The reason for wanting to create one table would be so that the spacing for each row would line up.


Viewing all articles
Browse latest Browse all 3740

Trending Articles