Closed sturmer-eha closed 8 years ago
Thanks! This looks great, and it's cool someone from EHA is still using this package :)
There are two things I would change:
Your origami cube and stars are still here by the way. Built to last, just like the reactive-table.
I've updated the function's arguments and the line you've mentioned. Might've done something which is not exactly what you've meant, since I don't know the internals of the package that well. Please let me know if the logic on that line needs to be altered.
Thanks for maintaining this package!
Thanks for making the changes :)
I'm not totally sure what that line should be either, but I think I'd go with field.sortByValue || (!field.fn && !field.sortFn)
. That would let you use sortFn without fn which could be useful, and if sortFn is undefined it does the same thing as before so it's more backwards-compatible.
I believe this should be good to go.
Thanks :)
Likewise Ü
this is a small tweak that I've had to implement within the package in order to make one table with scattered schema to properly sort by the combined sum of different values
please feel free to reimplement, extend, or merge