1

is it possible to move selected rows up and down using arrow keys? The drag and drop works great, but my project requires moving using a keyboard as well.

Thanks!

2
  • Can't figure out how to get it working but the source includes a keydown event so definitely this is possible. I'll let you know once I achieve this.
    – deprecated
    Nov 2, 2011 at 20:31
  • Thanks! If I figure it out, I'll post here as well. Nov 3, 2011 at 21:11

1 Answer 1

1

set enableCellNavigation: true in the options object. If you inspect the cells with Firebug or the like you'll notice that the active class value moves along with your keyboard presses.

So the thing is to CSS-format .active, I'm not sure whether SlickGrid provides it it already.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.