diff --git a/assets/plugins/features/inline.ts b/assets/plugins/features/inline.ts index c0b94efd..d3e4a72a 100644 --- a/assets/plugins/features/inline.ts +++ b/assets/plugins/features/inline.ts @@ -15,9 +15,13 @@ export class InlinePlugin implements DatagridPlugin { const trigger = datagrid.el.querySelector('.datagrid-inline-edit-trigger'); if (payload._datagrid_inline_edited) { - datagrid.el.querySelector( + let rows = datagrid.el.querySelectorAll( `tr[data-id='${payload._datagrid_inline_edited}'] > td` - )?.classList.remove("hidden"); + ); + + rows.forEach(row => { + row.classList.add("edited"); + }) } trigger?.classList.remove("hidden");