added tfoot indexing for sorted styling

This commit is contained in:
Rob Garrison 2012-08-18 23:51:48 -05:00
parent 81f495ce8d
commit 28cd34b42e

View File

@ -300,7 +300,7 @@
function computeThIndexes(t) {
var matrix = [],
lookup = {},
trs = $(t).find('thead:eq(0) tr'),
trs = $(t).find('thead:eq(0) tr, tfoot tr'),
i, j, k, l, c, cells, rowIndex, cellId, rowSpan, colSpan, firstAvailCol, matrixrow;
for (i = 0; i < trs.length; i++) {
cells = trs[i].cells;