From 64e657c8ae140ebd5bf883e751d3d97b199007f4 Mon Sep 17 00:00:00 2001 From: Simon Gordon Date: Wed, 14 Jun 2017 18:27:45 +1000 Subject: [PATCH] Stopping header row from showing as data (when is not defined) --- stacktable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacktable.js b/stacktable.js index 6d5861c..5999368 100755 --- a/stacktable.js +++ b/stacktable.js @@ -44,7 +44,7 @@ $table.siblings().filter('.small-only').remove(); // using rowIndex and cellIndex in order to reduce ambiguity - $table.find('>tbody>tr').each(function() { + $table.find('>tbody>tr').not($topRow).each(function() { // declaring headMarkup and bodyMarkup, to be used for separately head and body of single records headMarkup = '';