when i first load the grid and click on the row its works but after click on the second row $inputFrom.change function throw erorr i.e, $inputFrom was not an function, please suggest whats an issue?
editTemplate: function (value) {
debugger;
var $inputFrom = jsGrid.fields.timeField.prototype.editTemplate.call(this, value);
$inputFrom.change(function () {
var selectedValue = $(this).val();
validFrom2 = selectedValue;
});
return $inputFrom;
}
when i first load the grid and click on the row its works but after click on the second row $inputFrom.change function throw erorr i.e, $inputFrom was not an function, please suggest whats an issue?
editTemplate: function (value) { debugger; var $inputFrom = jsGrid.fields.timeField.prototype.editTemplate.call(this, value);
$inputFrom.change(function () { var selectedValue = $(this).val(); validFrom2 = selectedValue;
});
return $inputFrom; }