You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-up on #152 . Large Python integers cannot be represented as native JavaScript integers. From itables==1.5.2 we therefore convert them to str, but because of that they might not be sorted properly in datatables.
A more correct workaround would be
to encode the large integers using BigInt (however this does not seem to be supported by json.dumps at the moment?)
to use datatables>=1.13 which has support for these BigInt (however datatables>=1.13 requires import maps, which is a significant change, and will require modern browsers)
The text was updated successfully, but these errors were encountered:
This is a follow-up on #152 . Large Python integers cannot be represented as native JavaScript integers. From
itables==1.5.2
we therefore convert them tostr
, but because of that they might not be sorted properly indatatables
.A more correct workaround would be
BigInt
(however this does not seem to be supported byjson.dumps
at the moment?)datatables>=1.13
which has support for theseBigInt
(howeverdatatables>=1.13
requires import maps, which is a significant change, and will require modern browsers)The text was updated successfully, but these errors were encountered: