Dynatree 或 Jquery UI 对话框在数千名成员后速度变慢
我有一个简单的应用程序,在对话框中显示树列表,供用户选择,并在后台有一个小 servlet 进行延迟加载。当我单击其中一个目录时,就会出现问题。该目录包含 4000 多个其他目录。滚动条变得很难向下滚动,速度明显减慢。
我有一个解决方案,可以对屏幕上的内容进行分组,以便用户看到目录的前几个字符,然后慢慢地让他们向下钻取。我想知道除了我想到的这件事之外是否还有更简单的解决方案。
I have a simple application where I am displaying the tree list in a dialog box for the users to pick and have a little servlet in background for lazy loading. The problem happens for me when I click on one of the directories. This directory contains 4000+ other directories. The scroll bar becomes very hard to scroll down, slowing down measurably.
I have a solution to group things on the screen so that the users see the first couple characters of the directories and then slowly let them drill down. I was wondering if there is a simpler solution to this other than this thing I have in mind.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我所做的解决方案实际上与此类似。我创建了一个以前不存在的伪雇佣体系。请参阅此答案以了解其他问题。 如何渲染一棵大树
The solution I have done is actually similiar to this. I have created a pseudo hirearchy where none existed before. See this answer for an other question. How to render a large tree