Core: widthFixed option will no longer target nested table colgroup elements

This commit is contained in:
Mottie 2014-11-06 10:33:07 -06:00
parent 01aae38671
commit 830fd91129

View File

@ -581,7 +581,7 @@
function fixColumnWidth(table) {
var colgroup, overallWidth,
c = table.config;
if (c.widthFixed && c.$table.find('colgroup').length === 0) {
if (c.widthFixed && c.$table.children('colgroup').length === 0) {
colgroup = $('<colgroup>');
overallWidth = $(table).width();
// only add col for visible columns - fixes #371