enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

Datagrid: Component column formatters are ignored after cell edit

Open bartlomiej-k opened this issue 2 years ago • 0 comments

Describe the bug When a Datagrid column has a component formatter and any kind of editor (component/function/predefined editor), after editing the cell (or just entering and leaving edit mode), the component used for formatting the cell is ignored. Instead, as no formatter function is provided, a string representation of cell value is displayed.

To Reproduce

  1. Go to https://stackblitz.com/edit/ids-quick-start-1701-fphugk.
  2. Click on any cell in Editable column.
  3. Change the text or just click away to commit cell edit.
  4. Observe that an icon and (painful to watch) text styling disappeared - component is no longer used.

Expected behavior When formatter component is defined and formatter function is not, after committing cell edit the component should be used to display the new value of the cell.

Version

  • ids-enterprise-ng: v17.0.1

Screenshots image

Platform

  • Infor Application/Team Name: Infor WFM

bartlomiej-k avatar Nov 21 '23 16:11 bartlomiej-k