How to pass the entered input value from one datatable to another datatable
How to pass the entered input value from one datatable to another datatable
I have two datatables, one is for line items to order and the other one is for selected items to order.
I have Available qty and Provided Qty to order. I do a check to see if user enter quantity which is not more than available quantity which works fine. I than let the user add the line item to order if quantity is provide. My struggle is getting to parse the entered quantity to the data table of selected line items. I only pass two cols the part number and quantity to datatable of selected line Items. I also want to make the input of quantity read-only once it is on the table of selected items.
I have been battling to get this to work, but now I get the provided qty and displayed on the provided qty on the Selected Lime Item to order, now the problem is that the entered value when the button is clicked only show on the first row of the table.
This what I'm trying to achieve https://codepen.io/JayStar/pen/ZJpMxG