问题
I'm jsut looking into changing the drag hover of the aggrid component. i cant find much on it... Anyone knows how to change the styles of the row in drag mode?
My goal is to have a different animation (full row) like material UI/UX
https://material.io/design/components/lists.html#behavior
回答1:
So, actually, there is no possibility for now to modify 'ghost' template, you can try to explore deeper than I did, here is an entry point: ag-grid\src\ts\dragAndDrop\dragAndDropService.ts
and createGhost
method - exactly what you need. One thing that you can do is to override this place just for yourself and use instead of the original library.
来源:https://stackoverflow.com/questions/52367662/aggrid-custom-html-on-drag