AgGrid自定义HTML拖动 [英] AgGrid custom html on drag

查看:305
本文介绍了AgGrid自定义HTML拖动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究更改aggrid组件的拖动悬停。我找不到太多的东西...有人知道如何在拖动模式下更改行的样式吗?



我的目标是制作不同的动画(整行)像材质的UI / UX



解决方案

因此,实际上,现在不可能修改 ghost模板,您可以尝试比我更深入地探索,这是一个入口点: ag-grid\src\ts\dragAndDrop\dragAndDropService.ts createGhost 方法-正是您所需要的。您可以做的一件事是自己改写这个地方,而不是使用原始库。


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

解决方案

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.

这篇关于AgGrid自定义HTML拖动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆