www/js/prod_edit.js

changeset 340
fa4eb830c151
parent 335
4a8704b63376
child 341
9c4bc199be9e
equal deleted inserted replaced
339:da1f4525169d 340:fa4eb830c151
4853 $("#MashReady").jqxButton({ template: "success", width: '90px', theme: theme }); 4853 $("#MashReady").jqxButton({ template: "success", width: '90px', theme: theme });
4854 $("#MashReady").click(function () { 4854 $("#MashReady").click(function () {
4855 $("#mashGrid").jqxGrid('sortby', 'step_temp', 'asc'); 4855 $("#mashGrid").jqxGrid('sortby', 'step_temp', 'asc');
4856 }); 4856 });
4857 $("#wstep_name").jqxInput({ theme: theme, width: 320, height: 23 }); 4857 $("#wstep_name").jqxInput({ theme: theme, width: 320, height: 23 });
4858 $("#wstep_name").on('change', function (event) {
4859 var rowdata = $("#mashGrid").jqxGrid('getrowdata', mashRow);
4860 rowdata.step_name = event.args.value;
4861 });
4858 $("#wstep_type").jqxDropDownList({ 4862 $("#wstep_type").jqxDropDownList({
4859 theme: theme, 4863 theme: theme,
4860 source: MashStepTypeAdapter, 4864 source: MashStepTypeAdapter,
4861 valueMember: 'id', 4865 valueMember: 'id',
4862 displayMember: 'nl', 4866 displayMember: 'nl',

mercurial