if you have a table() section on your maptable that has a defaultSorting which references the first column of csv data, you get an error:
TypeError: d3.event is null Table.js:206:11
This references this if statement:
if (!d3.event.shiftKey) {
this.sorting = [this.sorting[sortIndex]];
}
To reproduce, change city to country in the default.sort.html example:
defaultSorting: {
key: "country"
}
current work around is re-order the data source to not have first column be the one you want to sort on
if you have a
table()section on your maptable that has adefaultSortingwhich references the first column of csv data, you get an error:TypeError: d3.event is null Table.js:206:11This references this if statement:
To reproduce, change
citytocountryin the default.sort.html example:current work around is re-order the data source to not have first column be the one you want to sort on