toni-heittola / js-datatable

JQuery plugin to generate dynamic HTML tables with data visualization https://toni-heittola.github.io/js-datatable/
MIT License
39 stars 19 forks source link

Do not override a column's formatter if already specified #11

Open bcopy opened 2 years ago

bcopy commented 2 years ago

If a data-formatter is already specified on a column, it should not be overwritten by the js-datatable formatter matching the data type. For instance, if a column's data-type is "list", there is currently no way to specify one's own data formatter.

In addition, the "str" data type is now allowed (but does not specify a data formatter).