google-code-export / flexigrid

Automatically exported from code.google.com/p/flexigrid
1 stars 0 forks source link

Grids already containing a DIV element cannot resize. #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup a flexigrid, where the contents of one of the cells has a DIV.
2. Attempt to resize the headers.

What is the expected output? What do you see instead?
All columns will be able to resize correctly BEFORE the column containing a 
DIV, all those after & including the error column won't resize correctly 
(they'll be offset).

What version of the product are you using? On what operating system?
Latest, Windows 7.

Please provide any additional information below.
The problem is being caused by the way DIV elements are being selected during a 
resize.
If you add a class 'tdd' to each cell, and use the CSS selector of 
'div.tdd:eq(' + n + ')') instead, it will work perfectly.

Original issue reported on code.google.com by mikes...@gmail.com on 26 Mar 2012 at 2:40