Column ordering will fail if all data in column are floats with .0 decimal

Column ordering will fail if all data in column are floats with .0 decimal

gllgll Posts: 1Questions: 1Answers: 0

I have a table which is working correctly at all times except one. Debugger finds no problems.

I use orthogonal data for date data, so my struct is date : { display: ISOFORMATEDSTRING, order: PYTHON_TIMESTAMP_FLOAT } which I then render with { _: display, sort: order}. This works fine except in the case that all my data come from dates with no seconds information. The data are in the form of XXXXXXXX0.0 where X is numbers. In this case the table still generally work but will NOT sort at all or do anything for the date.

Is this a bug or am I triggering something weird with the specific values? Any help would be appreciated.

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi @gll ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.