Skip to content

3.0 CellNav: Jquery v's Jquery lite #1562

Closed
@PaulL1

Description

In the cellnav feature I'm getting an exception within my application, at line 419 within setFocused():

          function setFocused(){
            var div = $elm.find('div');
            div.focus();
            div.attr("tabindex", 0);
          }

This is triggered when you use the arrow keys to move around a grid with cellNav enabled. In the tutorial it works fine, in my own application it gives an error that the focus() method is undefined. Interestingly, this appears to be a difference between full jQuery and Jquery lite. That is to say, the tutorial includes jquery, and if I modify my application to also include full jquery then the error goes away.

Is it still the intent that ui-grid not have a dependency in jQuery? If so, is it perhaps time to think about taking it out of the tutorial site?

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions