Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Programmatically clicking a cell for editing #14

Open
kronocharia opened this issue Aug 27, 2014 · 2 comments
Open

Programmatically clicking a cell for editing #14

kronocharia opened this issue Aug 27, 2014 · 2 comments

Comments

@kronocharia
Copy link

Heya, Great work with the plugin I absolutely love it!

I was wondering however if there was a way to programatically select a cell and show the editing caret inside. Ive tried the standard .focus() and .click() onto the cell to no avail =(

Cheers

@gamekid
Copy link

gamekid commented Aug 29, 2014

Try $('element').focus().click();

The showEditor function, which is triggered on click, searches 'td:focus' to find the right element.

@kstole
Copy link

kstole commented Jul 27, 2015

I was having the same issue and this worked perfectly for me. Thanks.

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

No branches or pull requests

3 participants