feat(b-table): allow field definition properties
sortByFormatted accept a formatter function reference (closes #3892)
@@ Coverage Diff @@ ## dev #3898 +/- ## ========================================== + Coverage 99.33% 99.33% +<.01% ========================================== Files 233 233 Lines 4484 4487 +3 Branches 1266 1269 +3 ========================================== + Hits 4454 4457 +3 Misses 24 24 Partials 6 6
@tmorehouse Yes, currently using
Edit: here's my current contents snippets:
Thank you @tmorehouse I think I'm good now. My jsfiddle just didn't have the proper data format:
And I just wasn't referencing
Thanks for your help! Sorry to muck up this old merged PR. A working in example in the Wiki may help a future user!
So, just to bump this again, and point out a thing that stumped me at first.
Let's say you have an array of objects that looks like this:
If you try to setup a field with
It seems as-if this relies on matching with a key name on the object itself. If you change to using
On the plus side, once I made this change, I can just use