-
Notifications
You must be signed in to change notification settings - Fork 36
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
Custom value and update value in javascript #1
Comments
No, because this is a select box, it is not possible to add custom values. You could possibly do something like this manually and call I would accept a PR adding |
I will try to create a function like Do you know in which direction am I looking? At what point are added element? Thank you |
My solution:
|
mydea, thanks again for having made this. I've been using it for a while now -- including using both id and value in one case. I recently had a request to allow adding values that didn't already exist. I've got something that mostly works... I modified a section of the handsontable-chosen-editor file. I'm sure you'll recognize where, from the first line of the code here. In handsontable I pass no_results_text: 'Press Enter to add new entry:' for this column. I also put together a list of distinct values in all the columns when I first load the page, and that's the data that gets passed in. Any/all feedback appreciated.
|
I'm sorry, but I'm currently not actively adding new features to this project. I'm willing to merge PRs though. |
Hello,
I'm interested in your custom renderer but I just have two questions:
Is it possible to allow the user to enter a custom value (not present in the data)?
And, how can I update the values of a cell?
setDataAtCell(row, col, value, source)
no longer works with the custom renderer Chosen editor.Thank you in advance.
Cordially.
Vincent LEVEQUE
The text was updated successfully, but these errors were encountered: