IE9 bug that is more likely to appear with datatables
IE9 bug that is more likely to appear with datatables
mkoryak
Posts: 14Questions: 0Answers: 0
Wanted to give you a heads up on an annoying IE9 bug that will present itself with a datatable.
To reproduce:
1. create an html table with spaces between the td elements. it should have more than 100 rows in order to increase the likelihood of seeing this bug
2. run datatables on it
3. start sorting each column
at some point the size of the table will change and you will see something like this:
http://img821.imageshack.us/img821/2128/problemjj.png
the cells will be shifted.
Here is an example of the bug in action (you need ie9):
http://jsfiddle.net/kiranmn/kYRnV/4/embedded/result/
What does this have to do with datatables?
well the bug only appears if the table is dynamically created, which datatables does.
I propose that a fix for this bug is to be put in for ie9. datatables should replace all whitespaces between table cells of a newly datatablized tables.
To reproduce:
1. create an html table with spaces between the td elements. it should have more than 100 rows in order to increase the likelihood of seeing this bug
2. run datatables on it
3. start sorting each column
at some point the size of the table will change and you will see something like this:
http://img821.imageshack.us/img821/2128/problemjj.png
the cells will be shifted.
Here is an example of the bug in action (you need ie9):
http://jsfiddle.net/kiranmn/kYRnV/4/embedded/result/
What does this have to do with datatables?
well the bug only appears if the table is dynamically created, which datatables does.
I propose that a fix for this bug is to be put in for ie9. datatables should replace all whitespaces between table cells of a newly datatablized tables.
This discussion has been closed.