olifolkerd / tabulator

Interactive Tables and Data Grids for JavaScript
http://tabulator.info
MIT License
6.76k stars 821 forks source link

thousandSeparator is not available in the SorterParams #4609

Open jackfuchs opened 3 weeks ago

jackfuchs commented 3 weeks ago

Describe the bug It is impossible to sort numbers having comma separated thousands. It seems the types won't even implement what is written in the docs.

https://tabulator.info/docs/5.6/sort#sorter-numeric

Tabulator Info Used version: "5.6.1"

Working Example Does not make sense to include an example unfortunately as the documented feature is completely missing.

To Reproduce

  1. Inspect the feature under https://tabulator.info/docs/5.6/sort#sorter-numeric
  2. Try to implement sorterParams: { thousandSeparator: ',' }
  3. See error in the console / IDE

Expected behavior It would be expected to be able to implement the documented sorterParam.

Screenshots

image