You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The clipboard takes into account the initial order of the columns only. The colField doesn't correspond to the actual column field after reordering.
Expected Behavior
The colField must correspond to its real column field.
Temporary Workaround
Sort the columns by their updated orderIndex and find the correct target column field. Once having it, the function responsible for updating the records could be updated accordingly:
Description
The clipboard event returns an incorrect
target.colField
after reordering the columns of the Grid.Steps To Reproduce
target.colField
is again 'Id' which is inaccurate since the 'Id' is no longer the first column.https://stackblitz.com/edit/angular-dwvxqc
Actual Behavior
The clipboard takes into account the initial order of the columns only. The
colField
doesn't correspond to the actual column field after reordering.Expected Behavior
The
colField
must correspond to its real column field.Temporary Workaround
Sort the columns by their updated
orderIndex
and find the correct target column field. Once having it, the function responsible for updating the records could be updated accordingly:https://stackblitz.com/edit/angular-dwvxqc-155hpq?file=src%2Fapp%2Fapp.component.ts
The text was updated successfully, but these errors were encountered: