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
Dropdown option for single click #1029
Comments
There is not possible natively since will cause problems with the normal seletion in the table. But you can use an event such as onselection to perform actions and open the editor. |
Can you please suggest me how to open an editor ? |
i'm also curious about this. when assigning the command for opening an editor for onselection, the dropdown entries appear on leftclick, but also disappear as soon as mouseup-event occurs |
You can try to create a promise or a simple setTimeout to start the edition after the mouseup. |
A hack workaround for this … not the best and surely can be improved The idea :
I use Adding element :
Action on click
And the css (with fontawesome 4)
It's really a workaround, i see jexcel 2 have an extra element for the clcik, this allow to open with one click. |
i'm amazed, thank you very much |
Did you read the comments ? |
I find a new solution. I use onselection event to launch it. x is the column positioning for the drop-down box.
|
I tried it with jexce4,but can't work. I found a new way, you can refer to it. |
If anyone else needs to do this I've a simple version working on Jspreadsheet v4.10.1
|
i found a solution in a clean way |
↑ It work for me in Jspreadsheet pro 8.7.12 ! Thanks !
|
It is only possible to open the dropdown list with a double-click. We would like to have the option to also click it open with a single mouse click.
The text was updated successfully, but these errors were encountered: