简体   繁体   English

jQuery数据表

[英]Jquery datatables

The fnGetSelected function works fine to highlight the rows of datatable in chrome, but in IE when we tend to select the cell values of the selected row using the mouse ( as we do for copying the data )then the the row highlight is removed!! fnGetSelected函数可以很好地突出显示chrome中的数据表的行,但是在IE中,当我们倾向于使用鼠标选择所选行的单元格值(就像我们复制数据时所做的那样)时,该行的突出显示将被删除! It happens only in IE, iam using IE8. 它仅在使用IE8的IE中发生。 Can anyone help me with this problem? 谁能帮助我解决这个问题? The following example of datatables also have the same problem when run with IE : http://datatables.net/examples/api/select_single_row.html 以下数据表示例在使用IE运行时也有相同的问题: http : //datatables.net/examples/api/select_single_row.html

Also this happens when we select more than one cell value, with only one cell value selected nothing weird will happen. 当我们选择一个以上的单元格值,并且只选择一个单元格值时,也不会发生任何奇怪的情况。

did you follow the instruction correctly by given reference ? 您是否按照给定的参考正确地遵循了说明?

http://datatables.net/examples/api/select_single_row.html http://datatables.net/examples/api/select_single_row.html

I checked .this given example is work nice with even IE 6.Can you post here your codes to determine where the error shroud be ? 我检查了。这个给定的示例甚至可以与IE 6一起很好地工作。您可以在此处发布代码以确定错误信息在哪里吗?

OR 要么

This google code example is working fine with even IE 6 too. 这个google代码示例也可以在IE 6下正常工作。

jquery-datatables-editable.googlecode.com/svn/trunk/index.html jquery-datatables-editable.googlecode.com/svn/trunk/index.html

But this have some more features like 但这还有更多功能,例如

Inline cell editing 内联单元格编辑

Select/delete rows in the table 选择/删除表中的行

Adding new records 添加新记录

Try to compare borth codes to get the error or remove the extra features in the google code 尝试比较borth代码以获取错误或删除Google代码中的其他功能

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM