网页展示1000多行的表格时缓慢,有什么办法解决
Jun 13, 2016 am 10:34 AM
网页显示1000多行的表格时缓慢,有什么办法解决?
在一个页面显示1000多行,50多列的表格时, 网页显示非常缓慢.就是卡死那样
因为想在一页显示所有商品的信息,不想分页.
出现这种情况是因为 网页的table 过大时 就必然会这样的吗? 我测试SQL查询时是好快的
有什么办法解决?
------解决方案--------------------
又一个脑残需求
用ajax做动态加载吧
------解决方案--------------------
------解决方案--------------------
用ajax技术当用户下拉到下面的时候 动态加载一部分内容 这样子就不用一下子把table全部载入了
------解决方案--------------------
div 可以分步渲染,table需要所有内容准备就绪才一起显示

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

What is the difference between HQL and SQL in Hibernate framework?

Usage of division operation in Oracle SQL

What does the identity attribute in SQL mean?

Comparison and differences of SQL syntax between Oracle and DB2

Detailed explanation of the Set tag function in MyBatis dynamic SQL tags

How to solve the 403 error encountered by jQuery AJAX request

How to solve jQuery AJAX request 403 error
