Primeng editable table - edit cancel controls

Discussão em 'Angular' iniciado por Dakado, Abril 12, 2025.

  1. Dakado

    Dakado Guest

    I use Primeng p-table with edit mode via p-cellEditor however I face multiple issues wich makes the table unusable in real world. (you can test this behavior in official example https://primeng.org/table#cell-edit)


    1. When I want to select all text in an by holding and dragging mouse and I click a pixel away from the actual input the cell edit mode is immediatelly toggled off and I lose all my selection.


    2. When I am in edit mode and I want to select all text using Ctrl+A it selects all table rows instead of all text inside my input.

    Ideally i would like a scenario where I could exist the edit only using keys likey Esc or Enter, I have tried to cancel mouseup and blur events, but nothing works.

    ANy help would be welcome, thanks.

    Continue reading...

Compartilhe esta Página