Sub-table as input data
Sub-table as input data
 krylov            
            
                Posts: 3Questions: 1Answers: 0
krylov            
            
                Posts: 3Questions: 1Answers: 0            
            Good day, sirs.
I try to write goods-accounting program and faced with a little problem: I don't know how to asq google for resolving problem.
We have table with goods
| id | good | Shelf | provider | 
|---|---|---|---|
| 1 | WiFi-Access point AP123 | A15 | Firma A | 
| 2 | Router WR-841 | B3 | Firma B | 
| 3 | Monitor ABC-1953 | A15 | Firma A | 
And main table
id |  good                                  | action          |     date      |    price
1  | WiFi-Access point  AP123  | Incoming     | 05.11.2017|  40
2  | Monitor  ABC-1953             | Outgoing    | 06.11.2017|   90
When I add row to main table, I get sub-window with data. How to make entering data "good" in sub-table, where I can filter by provider or by shelf or first letters of goods?
Answers
I'm afraid I don't really know what you are looking for. Perhaps you want to make the sub table a DataTable? In which case a standard
$(...).DataTable()initialisation would be the way to start.Allan