162 $("#always_on_stock").jqxCheckBox({ theme: theme, width: 120, height: 23 }); |
162 $("#always_on_stock").jqxCheckBox({ theme: theme, width: 120, height: 23 }); |
163 $("#inventory").jqxNumberInput( Spin1dec ); |
163 $("#inventory").jqxNumberInput( Spin1dec ); |
164 $("#production_date").jqxDateTimeInput( Dateopts ); |
164 $("#production_date").jqxDateTimeInput( Dateopts ); |
165 $("#cost").jqxNumberInput( Spin2dec ); |
165 $("#cost").jqxNumberInput( Spin2dec ); |
166 $("#tht_date").jqxDateTimeInput( Dateopts ); |
166 $("#tht_date").jqxDateTimeInput( Dateopts ); |
167 $("#totval").jqxNumberInput( Spin2dec ); |
167 $("#totval").jqxNumberInput( Show2dec ); |
168 $("#totval").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false }); |
|
169 |
168 |
170 var dataAdapter = new $.jqx.dataAdapter(source); |
169 var dataAdapter = new $.jqx.dataAdapter(source); |
171 var editrow = -1; |
170 var editrow = -1; |
172 // initialize jqxGrid |
171 // initialize jqxGrid |
173 $("#jqxgrid").jqxGrid({ |
172 $("#jqxgrid").jqxGrid({ |