react-pivottable icon indicating copy to clipboard operation
react-pivottable copied to clipboard

Filter Box not handling numeric in react-pivottable

Open aboulang opened this issue 5 years ago • 1 comments

Using

foo bar 2 1000 3 314159 5 200 1 500 20 0

pasted into the paste target at https://react-pivottable.js.org/ treats the number as strings, so a filter like >20 does not work.

I encountered this in my dash app and isolated it to react-pivotable using the demo https://react-pivottable.js.org. The functionality seems to work in pivottable.js.

image

image

Best regards, Albert Boulanger

aboulang avatar Jan 28 '20 12:01 aboulang

If this works in PivotTable.js and not here, then I agree it's a bug, and I'd happily accept a PR that fixes it :)

nicolaskruchten avatar Feb 19 '20 15:02 nicolaskruchten