在Internet Explorer中呈现大量记录 [英] rendering large number of records in internet explorer

查看:104
本文介绍了在Internet Explorer中呈现大量记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面需要显示数千个没有分页的记录。它现在呈现为无序列表。它与chrome和firefox工作正常,加载时间约为2秒。但在互联网浏览器中,它需要很长时间,而且互联网浏览器变得反应迟钝。有没有办法让它在没有分页的情况下在Internet Explorer上渲染得更快?





PS:我的问题不在于是否我不应该使用分页或用户友好性。我想知道是否有任何方法可以改善Internet Explorer对大型数据集的渲染。

I have a page that needs to show thousands of records without paging.It is rendering as unordered list right now.It is working fine with chrome and firefox with a load time of around 2 seconds. But in internet explorer it is taking a long time and internet explorer becomes unresponsive. Is there any way to make it render faster on internet explorer without paging?


PS: My question is not on whether or not should I use paging or about user friendliness. I want to know if there is any way to improve the rendering on internet explorer for large data set.

推荐答案

如果您想要一次渲染5,000条记录,则应该检查您的设计。并重新设计你的想法。 :-)



也许你应该考虑一下用户不好。



- SA
If you are thinking about 5,000 records to render at a time, you should review your design. And redesign your thinking. :-)

And perhaps you should think a bit about poor users.

—SA


我必须同意Sergey Alexandrovich Kryukov。在网页中显示许多结果会导致页面无法使用。您能想象在亚马逊上浏览烹饪书籍,然后将所有结果加载到一个页面中吗?一般来说,如果你必须滚动超过2页,你就失去了用户 - 他们不会向下滚动列表。



除了可用性问题是,行必须由浏览器呈现,这需要时间。我想您可以采用虚拟分页方法并使用AJAX来延迟加载并显示数据的子集,但是您将不得不编写大量的管道代码。
I have to agree with Sergey Alexandrovich Kryukov. Showing that many results in a web page renders the page unusable. Could you imagine browsing to Amazon for a book on cookery and it then loads all the results into one page? Generally, if you have to scroll over more than 2 pages, you''ve lost the user - they won''t scroll down the list.

On top of the usability issue, is the fact that the rows would have to be rendered by the browser, and that is going to take time. I suppose you could take a virtual paging approach and use AJAX to lazy load and display a subset of the data, but you''re going to have to write a lot of plumbing code.


这篇关于在Internet Explorer中呈现大量记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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