From 641d988ab37d29ab9d6337c660c1044bb711cfc4 Mon Sep 17 00:00:00 2001 From: Brigitte Jellinek Date: Thu, 7 May 2015 10:50:28 -0400 Subject: [PATCH] add the css classes _0 _1 _2 _3 ... to table headers --- src/data-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data-table.js b/src/data-table.js index 22e76ed7d..ced585f37 100644 --- a/src/data-table.js +++ b/src/data-table.js @@ -111,7 +111,7 @@ dc.dataTable = function (parent, chartGroup) { .append('th'); headGroup - .attr('class', HEAD_CSS_CLASS) + .attr('class', function(d,i){ return HEAD_CSS_CLASS + ' _' + i}) .html(function (d) { return (_chart._doColumnHeaderFormat(d));