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

How does the editTemplate in the Custom Field work? #1396

Open
RevealedFrom opened this issue May 28, 2021 · 0 comments
Open

How does the editTemplate in the Custom Field work? #1396

RevealedFrom opened this issue May 28, 2021 · 0 comments

Comments

@RevealedFrom
Copy link

I refer to the following in the Custom Field section of the documentation:

    editTemplate: function(value) {
        return this._editPicker = $("<input>").datepicker().datepicker("setDate", new Date(value));
    },

Is _editPicker a hardcoded name referenced internally by jsGrid?

In $("<input>"), which <input> control is selected? If my page has many <input>'s, could the wrong one be selected?

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