How to extend SelectEditor with Angular

Tags: #<Tag:0x00007efc652301f0>

Hi,

I’m trying to extend SelectEditor in my Angular project to improve it in two points:

  • First open directly at click the editor to save one click to edit value (I found a workaround with onAfterOnCellMouseUp callback but would like to clean it)
  • Being able if del key is pressed to erase the value.

But I’m a bit lost in inheritance of Editors in angular.

Thanks in advance.

Nikolas

For 2nd point, I found a workaround with onAfterDocumentKeyDown.

It is enough for the moment but any improvement is welcome :slight_smile: .

Nikolas

Hey @nikolas.ethore

Being able if del key is pressed to erase the value.

I guess that you’d need to have setDataAtCell on this logic but also remember to use it’s optional (source) parameter to block an unwanted call loop.