RhoInc/Webcharts

Table header doesn't update on table.draw()

Closed this issue · 3 comments

In the current v1.9.0 build, the table header is only modified in table.layout(). This means that modifying table.config.cols or table.config.headers after table.init() is called causes problems like in this issue in the ae-timeline repo.

Don't see any major problem with setting up thead in table.layout() and then using the standard enter/update/exit paradigm for the thcells in table.draw()

Test notes:

  • Verify column list and order is randomized upon clicking the Randomize columns button.
  • Verify headers match data in columns upon clicking the Randomize columns button.
  • Verify header text is randomized upon clicking the Randomize headers button.

Pass

36

35