2434 row["h_myrcene"] = datarecord.myrcene; |
2434 row["h_myrcene"] = datarecord.myrcene; |
2435 row["h_total_oil"] = datarecord.total_oil; |
2435 row["h_total_oil"] = datarecord.total_oil; |
2436 row["h_inventory"] = datarecord.inventory; |
2436 row["h_inventory"] = datarecord.inventory; |
2437 var commit = $("#hopGrid").jqxGrid('addrow', null, row); |
2437 var commit = $("#hopGrid").jqxGrid('addrow', null, row); |
2438 } |
2438 } |
|
2439 $("#haddrowbutton").jqxDropDownList('clearSelection'); |
2439 }); |
2440 }); |
2440 |
2441 |
2441 $("#hinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); |
2442 $("#hinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); |
2442 $("#hinstockbutton").on('change', function (event) { |
2443 $("#hinstockbutton").on('change', function (event) { |
2443 hopinstock = event.args.checked; |
2444 hopinstock = event.args.checked; |
2843 row["y_flocculation"] = datarecord.flocculation; |
2844 row["y_flocculation"] = datarecord.flocculation; |
2844 row["y_cells"] = datarecord.cells; |
2845 row["y_cells"] = datarecord.cells; |
2845 row["y_inventory"] = datarecord.inventory; |
2846 row["y_inventory"] = datarecord.inventory; |
2846 var commit = $("#yeastGrid").jqxGrid('addrow', null, row); |
2847 var commit = $("#yeastGrid").jqxGrid('addrow', null, row); |
2847 } |
2848 } |
|
2849 $("#yaddrowbutton").jqxDropDownList('clearSelection'); |
2848 }); |
2850 }); |
2849 $("#yinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); |
2851 $("#yinstockbutton").jqxCheckBox({ theme: theme, height: 27 }); |
2850 $("#yinstockbutton").on('change', function (event) { |
2852 $("#yinstockbutton").on('change', function (event) { |
2851 yeastinstock = event.args.checked; |
2853 yeastinstock = event.args.checked; |
2852 yeastlist.dataBind(); |
2854 yeastlist.dataBind(); |