先前在做ASTreeView右键菜单时遇到一个问题,是这样的:
因为页面的布局中,放置ASTreeView控件的容器叫container,当用户右键点击树节点时,edit, delete节点的菜单出现。由于container的position是relative的,右键菜单的div的position是absolute的,所以,设置菜单div的left, top属性时,会根据container的位置去定位,如图所示:
After a long time development, the ASTreeView is finally finished. Now I would like to introduce it to you. And your feedback is appreciated!
ASTreeView is a powerful treeview with drag drop, ajax loading, context menu, xml import/export, checkbox, selection…