dc-js/dc.js

dataTable + showSections = missing row

savostin opened this issue · 1 comments

Hello.
It seems dataTable "eats" one (first) row of each section when showSections is true.
let data = crossfilter([ { time: 1, name: 'one' }, { time: 1, name: 'two' }, { time: 1, name: 'three' }, { time: 2, name: 'four' }, { time: 2, name: 'five' }, { time: 3, name: 'six' } ]); let dimension = data.dimension(d => d); let chart = dc.dataTable('#table'); chart .dimension(dimension) .columns(['time', 'name']) .section(d => d.time) .showSections(true) .size(Infinity); dc.renderAll();

The 'one', 'four' and 'six' rows disappear. They of course appear when showSections is false.

Sorry, I were using modified dc.js source :(