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
I'm working on a reusable mat-table component with ng-content projection and with dragsortable rows and columns, column resize.
It seems that cdkDrag directives doesn't work with ng-content projection, so i tried to use only the dragdrop service from cdk which seems to work but with usage of detectChanges() and i have to re-add all draggables to their droplists on each dropevent for the columns.
When adding additional rows / data to the table on runtime, the newly added rows doesn't get recognized and can't be dragsorted.
I'm working on a reusable mat-table component with ng-content projection and with dragsortable rows and columns, column resize.
It seems that cdkDrag directives doesn't work with ng-content projection, so i tried to use only the dragdrop service from cdk which seems to work but with usage of detectChanges() and i have to re-add all draggables to their droplists on each dropevent for the columns.
When adding additional rows / data to the table on runtime, the newly added rows doesn't get recognized and can't be dragsorted.
Am i missing something? Seems there isn't that much example or even documentation for such a case (See my github kitchensink for code)
The text was updated successfully, but these errors were encountered: