ColumnSelector: target header column attr. Fixes #1238

This commit is contained in:
Rob Garrison 2016-12-13 11:08:17 -06:00
parent 8512a2631f
commit e5f41c4fdf
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -270,7 +270,7 @@
var array = [],
temp = ' col:nth-child(' + column + ')';
array.push(prefix + temp + ',' + prefix + '_extra_table' + temp);
temp = ' tr:not(.hasSpan) th:nth-child(' + column + ')';
temp = ' tr:not(.hasSpan) th[data-column="' + ( column - 1 ) + '"]';
array.push(prefix + temp + ',' + prefix + '_extra_table' + temp);
temp = ' tr:not(.hasSpan) td:nth-child(' + column + ')';
array.push(prefix + temp + ',' + prefix + '_extra_table' + temp);