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"-cFCĶl-/.ݻgh\j9$SޭADQP^NΆ* h4o&kEw0c,å~?HOe=+a(60@g"-cFCĶ4>0a ND)Ak49L'Jh<8nn&,`\f,K휚抓6 H5eR)VE}͔"i=2Xo(Ƃ|=T+PCv.2tVkv# X.^ѷ8c=?=$ 2@V5g/tyAu_6iR kNX'MBmv36@1|ӵ}zi$$|7cKifACW;X&`/ }?u XQR 3BE<`22C׵[C-Igp3#ٹ${YNX-Bԕ;W=yL lě1싊afQ$m{w4-+:g7#$"u#չs'k2 cj8nn&,`\fsmU塀ړFLTi+90ry; ٣WZߓRm r %U@ⶤ`fT4)3jAV@Ks!t"ݑF|݉dx*TsImcSvo^-Jϛ]_GA nͻ;;%+ܗGjWGs]68nn&,`\f$").appendTo(htmlElement); inputTag.jqxInput({ popupZIndex: 99999999, placeHolder: "Enter Name: ", source: getSourceAdapter("name"), displayMember: 'name', width: '100%', height: 30 }); $(document).on('keydown.name', function (event) { if (event.keyCode == 13) { if (event.target === inputTag[0]) { addCallback(); } } }); return inputTag; }, initEverPresentRowWidget: function (datafield, htmlElement) { }, validateEverPresentRowWidgetValue: function (datafield, value, rowValues) { if (!value || (value && value.length < 5)) { return { message: "Entered value should be more than 5 characters", result: false }; } return true; }, getEverPresentRowWidgetValue: function (datafield, htmlElement, validate) { var value = htmlElement.val(); return value; }, resetEverPresentRowWidgetValue: function (datafield, htmlElement) { htmlElement.val(""); } }, { text: 'Product', filtertype: 'checkedlist', datafield: 'productname', width: 220, createEverPresentRowWidget: function (datafield, htmlElement, popup, addCallback) { var inputTag = $("
").appendTo(htmlElement); inputTag.jqxDropDownList({ popupZIndex: 99999999, placeHolder: "Enter Product: ", source: getSourceAdapter("productname"), displayMember: 'productname', width: '100%', height: 30 }); $(document).on('keydown.productname', function (event) { if (event.keyCode == 13) { if (event.target === inputTag[0]) { addCallback(); } else if ($(event.target).ischildof(inputTag)) { addCallback(); } } }); return inputTag; }, getEverPresentRowWidgetValue: function (datafield, htmlElement, validate) { var selectedItem = htmlElement.jqxDropDownList('getSelectedItem'); if (!selectedItem) return ""; var value = selectedItem.label; return value; }, resetEverPresentRowWidgetValue: function (datafield, htmlElement) { htmlElement.jqxDropDownList('clearSelection'); } }, { text: 'Ship Date', datafield: 'date', filtertype: 'range', width: 210, cellsalign: 'right', cellsformat: 'd', createEverPresentRowWidget: function (datafield, htmlElement, popup, addCallback) { var inputTag = $("
").appendTo(htmlElement); inputTag.jqxDateTimeInput({ value: null, popupZIndex: 99999999, placeHolder: "Enter Date: ", width: '100%', height: 30 }); $(document).on('keydown.date', function (event) { if (event.keyCode == 13) { if (event.target === inputTag[0]) { addCallback(); } else if ($(event.target).ischildof(inputTag)) { addCallback(); } } }); return inputTag; }, initEverPresentRowWidget: function (datafield, htmlElement) { }, getEverPresentRowWidgetValue: function (datafield, htmlElement, validate) { var value = htmlElement.val(); return value; }, resetEverPresentRowWidgetValue: function (datafield, htmlElement) { htmlElement.val(null); } }, { text: 'Qty.', datafield: 'quantity', filtertype: 'number', cellsalign: 'right', createEverPresentRowWidget: function (datafield, htmlElement, popup, addCallback) { var inputTag = $("
").appendTo(htmlElement); inputTag.jqxNumberInput({ inputMode: 'simple', decimalDigits: 0, width: '100%', height: 30 }); $(document).on('keydown.qty', function (event) { if (event.keyCode == 13) { if (event.target === inputTag[0]) { addCallback(); } else if ($(event.target).ischildof(inputTag)) { addCallback(); } } }); return inputTag; }, initEverPresentRowWidget: function (datafield, htmlElement) { }, validateEverPresentRowWidgetValue: function (datafield, value, rowValues) { if (parseInt(value) < 0) { return { message: "Entered value should be positive number", result: false }; } return true; }, getEverPresentRowWidgetValue: function (datafield, htmlElement, validate) { var value = htmlElement.val(); if (value == "") value = 0; return parseInt(value); }, resetEverPresentRowWidgetValue: function (datafield, htmlElement) { htmlElement.val(""); } }, { text: '', datafield: 'addButtonColumn', width: 50 }, { text: '', datafield: 'resetButtonColumn', width: 50 } ] }); $("#top").jqxRadioButton({ checked: true }); $("#bottom").jqxRadioButton(); $("#top").on('checked', function () { $("#jqxgrid").jqxGrid('everpresentrowactions', 'add reset'); }); $("#bottom").on('checked', function () { $("#jqxgrid").jqxGrid('everpresentrowactions', 'addBottom reset'); }); });

Add New Row to Top
Add New Row to Bottom