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

Edit On Focus Cell Selection Example broken

Open skeenan opened this issue 13 years ago • 12 comments

The

Edit On Focus Cell Selection Example

on your examples page doesn't work.

http://angular-ui.github.com/ng-grid/

Tested on OSX Chrome & Firefox

Cheers

skeenan avatar Mar 28 '13 11:03 skeenan

+1. Broken on Mac w/ Chrome & w/ Safari

skusunam avatar Apr 02 '13 19:04 skusunam

The canSelectRows boolean appears to be ignored.

specialjyo avatar Apr 03 '13 13:04 specialjyo

Updated to the latest, still seeing this bug.

specialjyo avatar Apr 17 '13 15:04 specialjyo

What's the latest version where this was working?

roblarsen avatar Apr 17 '13 16:04 roblarsen

1.8 definitely works, and I believe 1.9, but cant verify at the moment.

specialjyo avatar Apr 17 '13 16:04 specialjyo

Updated Plunker: http://plnkr.co/edit/YApXEE

kdimatteo avatar Apr 23 '13 14:04 kdimatteo

@kdimatteo thats using the global enableCellEdit in the gridoptions, this bug is for using column definitions to say a column is editable with a single click, and was working on the demo page some time ago.

specialjyo avatar Apr 25 '13 21:04 specialjyo

broken in 2.0.5 as well.

specialjyo avatar Apr 29 '13 14:04 specialjyo

It looks like the enableFocusedCellEdit option was removed in this commit: bf050fe08289cf4

The examples page is obviously still broken, though, since it wasn't updated to match. Is the idea to:

  1. Use enableCellEdit to show the editable template on double-click
  2. Use enableFocusedCellEdit to show the editable template on single-click

Do I have that right?

c0bra avatar Apr 29 '13 16:04 c0bra

Yep, single click, and I return the data type of the element so my inputTemplate gets passed for that row based on type (boolean, string, etc.) Works great in 1.8.

specialjyo avatar Apr 29 '13 17:04 specialjyo

This is now fixed using 2.0.7. http://angular-ui.github.io/ng-grid/ is currently using 2.0.7.

jonricaurte avatar Jun 29 '13 04:06 jonricaurte

Single click not working on dropdown in cell template instead I need to double-click to edit the dropdown? How can I always need a single click for my dropdown

sumeetsonawane11 avatar Sep 14 '17 15:09 sumeetsonawane11