paramquery / grid

jQuery grid plugin based on jQueryui widget design
paramquery.com
GNU General Public License v3.0
543 stars 255 forks source link

"$td is null" error when using cbHeader:true and flexWidth:false #91

Open bbieb opened 8 years ago

bbieb commented 8 years ago

Hi paramquery, If you have have a defined width (horizontal scrollbar appears) set for the grid while using "checkbox selections" and you try to scroll, you receive "$td is null" error and the header scrolling get disconnected from the grid scrolling. Check jsfiddle and scroll horizontally, the header scrolls back and forth but the columns do not. Thanks. brian

https://jsfiddle.net/bbieber/5cry1pp9/

bbieb commented 8 years ago

?

paramquery commented 8 years ago

bbieb

Sorry for late reply.

This fiddle contains the patch fix for it. https://jsfiddle.net/5cry1pp9/17/

The patch can also be added in a separate js file.

bbieb commented 8 years ago

Thanks for taking the time to look at and fix. I came to the same conclusion the other day but wasn't sure what it might affect down the road. Thanks. brian