FeatureFuel
1

align numeric fields at decimal point

Source: directus/directus#24937 · opened by @NickCrews
Describe the Improvement

Currently, numeric columns can be aligned left, center, or right, just like all the rest. This makes it hard to compare the relative size of things at-a-glance. I want larger numbers to stick further left than smaller numbers. Right-align works if all numbers have the same number of digits to the right of the decimal point, but if there is a mix then it doesn't work.
<img width="360" alt="image" src="

This is a small UX thing, not a big deal, but if it's not too hard then that would be great. If it's a pain then feel free to just close this out. If you point me in the right direction then I can take a stab at a PR, though I am a noob with typescript (though am an experienced python engineer).

Other more generic solution would be if we added a more general formatting API to fields (I bet there is already an issue about that) so that this is the user's responsibility/power.

Thank you!

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests