169 height: 23, |
169 height: 23, |
170 autoDropDownHeight: true |
170 autoDropDownHeight: true |
171 }); |
171 }); |
172 $("#notes").jqxInput({ theme: theme, width: 800, height: 120 }); |
172 $("#notes").jqxInput({ theme: theme, width: 800, height: 120 }); |
173 $("#best_for").jqxInput({ theme: theme, width: 320, height: 75 }); |
173 $("#best_for").jqxInput({ theme: theme, width: 320, height: 75 }); |
174 $("#inventory").jqxNumberInput( Spin1dec1 ); |
174 $("#inventory").jqxNumberInput( Spin1dec ); |
175 $("#production_date").jqxDateTimeInput( Dateopts ); |
175 $("#production_date").jqxDateTimeInput( Dateopts ); |
176 $("#min_temperature").jqxNumberInput( YeastT ); |
176 $("#min_temperature").jqxNumberInput( YeastT ); |
177 $("#max_temperature").jqxNumberInput( YeastT ); |
177 $("#max_temperature").jqxNumberInput( YeastT ); |
178 $("#flocculation").jqxDropDownList({ |
178 $("#flocculation").jqxDropDownList({ |
179 theme: theme, |
179 theme: theme, |
182 displayMember: 'nl', |
182 displayMember: 'nl', |
183 width: 180, |
183 width: 180, |
184 height: 23, |
184 height: 23, |
185 autoDropDownHeight: true |
185 autoDropDownHeight: true |
186 }); |
186 }); |
187 $("#attenuation").jqxNumberInput( Perc1dec5 ); |
187 $("#attenuation").jqxNumberInput( Perc1dec ); |
188 $("#max_reuse").jqxNumberInput( PosInt ); |
188 $("#max_reuse").jqxNumberInput( PosInt ); |
189 $("#max_reuse").jqxNumberInput({ max: 10 }); |
189 $("#max_reuse").jqxNumberInput({ max: 10 }); |
190 $("#cost").jqxNumberInput( Spin2dec1 ); |
190 $("#cost").jqxNumberInput( Spin2dec ); |
191 $("#tht_date").jqxDateTimeInput( Dateopts ); |
191 $("#tht_date").jqxDateTimeInput( Dateopts ); |
192 $("#totval").jqxNumberInput( Spin2dec1 ); |
192 $("#totval").jqxNumberInput( Spin2dec ); |
193 $("#totval").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false }); |
193 $("#totval").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false }); |
194 $("#cells").jqxNumberInput( Spin1dec1 ); |
194 $("#cells").jqxNumberInput( Spin1dec ); |
195 |
195 |
196 var dataAdapter = new $.jqx.dataAdapter(source); |
196 var dataAdapter = new $.jqx.dataAdapter(source); |
197 var editrow = -1; |
197 var editrow = -1; |
198 // initialize jqxGrid |
198 // initialize jqxGrid |
199 $("#jqxgrid").jqxGrid({ |
199 $("#jqxgrid").jqxGrid({ |