DaltonPimmel / flexigrid

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

pager bug in multiple instances #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://groups.google.com/group/flexigrid/browse_thread/thread/5f83d37c6b881193

Fix:
replace line
    if (p.usepager) g.pDiv = document.createElement('div');
with this
    g.pDiv = document.createElement('div');
    if (!p.usepager) g.pDiv.style.display = 'none';

We need in pDiv container, because used it many times.

PS. I divide my patch by issues.

Original issue reported on code.google.com by ymkin....@gmail.com on 7 Mar 2011 at 9:58

GoogleCodeExporter commented 8 years ago
Fixed and pushed to trunk.

Original comment by eric.caron on 22 Apr 2011 at 10:28