ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Tabbing to next cell when editing

Open specialjyo opened this issue 13 years ago • 6 comments

I have a grid, all cells are editable, I'd like when I press the tab key to move to the next cell in the row, I dont see this ability as a config option, curious of the best way to implement.

specialjyo avatar Apr 18 '13 19:04 specialjyo

if you enable the default cell edit feature, tab advances tot he next cell. or if oyu want to implement it yourself you can take a look at the ng-cell-edit directive in source.

On Thu, Apr 18, 2013 at 12:50 PM, Jason [email protected] wrote:

I have a grid, all cells are editable, I'd like when I press the tab key to move to the next cell in the row, I dont see this ability as a config option, curious of the best way to implement.

— Reply to this email directly or view it on GitHubhttps://github.com/angular-ui/ng-grid/issues/351 .

-Tim Sweet

orneryd avatar Apr 19 '13 17:04 orneryd

Tim, which version was enableCellEdit introduced? Just curious as I'm using 1.8 as editing cells doesn't appear to work in the newer versions. Demo page has an example, but the canSelectRows boolean seems to be overriding it.

I've gotten this to work by setting the cellTemplate to my inputTemplate, but it introduces a bug where hovering over a cell shows a garbled image.

specialjyo avatar Apr 19 '13 19:04 specialjyo

this is fixed in 2.0.4

orneryd avatar Apr 26 '13 23:04 orneryd

This is not working in IE - http://plnkr.co/edit/pGUZduChPmG7Pg1AregU?p=preview Please suggest if you have any way to fix it

arunprabhus avatar Jun 08 '17 11:06 arunprabhus

@arunprabhus what version of IE are you seeing this in? I just tried your plunk in IE 11 and it seems to be working.

craigeddy avatar Jun 08 '17 11:06 craigeddy

@craigeddy IE 11 it is not working go to any of the item listed and use tab eg: doubleclick on ID column 1 now it is editable field now use tabl till address you can see it is working after address you have to double click again to get editable field.

arunprabhus avatar Jul 05 '17 07:07 arunprabhus