Giter VIP home page Giter VIP logo

Comments (5)

mleibman avatar mleibman commented on July 30, 2024

I played around with fixing it, but that messes with keyboard navigation. Should we assume that if the caret is displayed, the left/right cell navigation should be suspended, or is there a more elaborate test needed?

from slickgrid.

chrisrichards avatar chrisrichards commented on July 30, 2024

I think this should work in a similar way to Google Docs and Excel; the arrow keys navigate between cells, as soon as you type anything the value is entered into the cell. Pressing an arrow key at this stage will commit the edit and navigate to another cell. However if you hit F2, the arrow keys no longer navigate between cells but navigate the contents of the cell. Hitting enter commits the edit, or hitting escape cancels the edit, and takes you out of this mode and returns to navigating between cells.

from slickgrid.

milang avatar milang commented on July 30, 2024

We discussed this with Michael in a private conversation and agreed on exactly this approach. All that is left now is to implement it. Little details :-).

from slickgrid.

chrisrichards avatar chrisrichards commented on July 30, 2024

Been working on this, and an autocomplete cell editor, the past few days and have just sent a couple of pull requests to Michael. In the meantime, you can take a look at my fork http://github.com/ChrisRichards/SlickGrid

from slickgrid.

mleibman avatar mleibman commented on July 30, 2024

Fixed in http://github.com/mleibman/SlickGrid/commit/64b2fc0b13a1c78c08bf63043b5b5c0163c3ae5b

Note that each editor is in charge of deciding which keys are meaningful in their context.

from slickgrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.