platform icon indicating copy to clipboard operation
platform copied to clipboard

API for entering edit mode on Grid Pro

Open yuriy-fix opened this issue 4 years ago • 2 comments

Description

Providing an API to enter GridPro editing mode programatically.

Use cases

As a developer I want to programmatically open the cell in editing mode So that I can achieve it using explicit public API

Acceptance criteria

  • [ ] editedCell state is available on GridPro: gridPro.editedCell = {item, path};
    • [ ] editCell method should be available on Flow component with:
      • [ ] item parameter (start editing from the first column)
      • [ ] item and column parameters
  • [ ] Should warn developer if item or path does not exist or out of the viewport
  • [ ] Documentation is updated accordingly and corresponding example is added: https://vaadin.com/docs/latest/ds/components/grid-pro

General criteria

  • [ ] APIs reviewed
  • [ ] Design
  • [ ] Performance
  • [ ] UX/DX tests in Alpha
  • [ ] Documentation:
  • [ ] How to test?
  • [ ] Limitations:

yuriy-fix avatar Jan 21 '22 08:01 yuriy-fix

Any updates on this? This feature was heavily used in V8... In our case the user adds a new entry to the grid (via context menu or button) and directly wants to start typing... it doesn't even have to be a specific column, we just need to open the edit mode. Is there any workaround?

sirbris avatar Jun 10 '22 06:06 sirbris

Are there any updates ? If this will not reach upstream, is there a way to trigger it via JavaScript (if the row to be edited is visible) ? I would just like to have this functionality in V14 (and V23).

F0rce avatar Jul 04 '22 13:07 F0rce