在IE-9中,当数据量很大时,Div包含Table闪烁且没有选择ckeck框 [英] In IE-9 Div contains Table is flickering and not seleting ckeck box when data is huge

查看:81
本文介绍了在IE-9中,当数据量很大时,Div包含Table闪烁且没有选择ckeck框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用包含数据(数据库查询结果)的表,其中包括每行的复选框。此表位于Div标记中。 Div高度为400px& Div有水平&垂直滚动,所以表中的数据(间接在
Div中)将显示到某个区域,如果记录更多,则div将具有滚动。这里的css - 溢出是表格的自动。

I am using table which contains the data (DB query results) including a check-box for each row. This table is reside in a Div tag. This Div height is 400px & Div having the Horizontal & Vertical Scrolls, so the data in the table (indirectly in the Div) will be displayed to some area, if the records are more, then div will be having the scrolls. Here css - Overflow is Auto for table.

当数据较少时(如100记录),每件事情都很完美。

When data is less (like 100 record) every things works perfect.

当数据量巨大时(喜欢1000多行),

When Data is huge(like 1000+ rows),

   当我垂直滚动div以查看第100条记录并选择一些记录(点击复选框)时,我们面临3个问题

    when i scroll the div vertically to see 100th record and selecting some record(clicking on the check box) , we are facing 3 problems

  1)表格中的数据闪烁 - 表格展开到它的最大高度然后它适合Div(指定高度400px) - 。

 1 ) Data in the table flickering - table expands to its max height then it fits into the Div(as specified height of 400px)- .

  2)记录我点击的记录复选框没有选择。

 2 ) Check box for the record what i clicked is not selecting.

  3)当我点击最后一条记录时,它会在闪烁后显示表格中的第一条记录(指针移动到表格的开头)。

 3 ) when i clicked on last record , it displays the first record in the table(pointer is moved to the beginning of the table)after flickers.

推荐答案

你的问题是框架不好......请提供指向您网站的链接

you question is poorly framed.... please provide a link to your website

使用IE Developer工具调试脚本......

use the IE Developer tool to debug your scripts...

在validator.w3.org验证您的标记并更正任何标记错误。

Validate your markup at validator.w3.org and correct any markup errors.

无法访问您的网站我们只能猜测。在你的问题中包括你的Windows和IE版本。

without access to your website we can only guess. Include your windows and IE versions in your questions.

问候。


这篇关于在IE-9中,当数据量很大时,Div包含Table闪烁且没有选择ckeck框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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