Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editTemplate on row change error throw $inputFrom was not an function #1426

Open
MuhammadAzhaan opened this issue May 26, 2023 · 1 comment

Comments

@MuhammadAzhaan
Copy link

MuhammadAzhaan commented May 26, 2023

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;
}

@MuhammadAzhaan
Copy link
Author

The field on which i am applying the edittemplate is date calendar field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant