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

More intuitive arrow navigation. #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

gamekid
Copy link

@gamekid gamekid commented Aug 27, 2014

Using the arrow keys to navigate elements, when editing the element value, will only work if the cursor is in the first or last position of the input element.

Example: When the entire input value is selected, hitting the right arrow will drop the cursor at the end of the input as you would expect it to. When the cursor is at the end of the input and you hit the right arrow, it will then move to the next element.

Using the arrow keys to navigate elements, when editing the element value, will only work if the cursor is in the first or last position of the input element. 

Example: When the entire input value is selected, hitting the right arrow will drop the cursor at the end of the input as you would expect it to. When the cursor is at the end of the input and you hit the right arrow, it will then move to the next element.
Use different editors per column.

$('table').editableTableWidget({
    editor: [ 
        $('<textarea>'), // col 1
        $('#select_element').clone() // col 2
]}); 

Also, use 'noedit' element to disable editing. 

<td noedit='true'>No Edit</td>
@DRSDavidSoft
Copy link

I suggest using HTML5's readonly attribute instead of noedit.
This has been discussed in #18.

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

Successfully merging this pull request may close these issues.

None yet

2 participants