M
M
Maxim Ivanov2016-04-27 15:49:46
Bootstrap
Maxim Ivanov, 2016-04-27 15:49:46

How to make Bootstrap table cells fixed?

I want only the first 2-3 digits of the number to be visible, and the rest to be hidden (overflow:hidden or something).
And then, when there are large numbers in the cells, then the table becomes ugly
6ce3c4f9f9014699a86ed539fe3e3c1b.png
. I did this:
8fd0cb07ca624341871b9185deee82e8.png
On hover, the full number is shown, so it seems to be beautiful, if you look at the width of the cells and the discrepancy between numbers ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2016-04-27
@splincodewd

And you do not want to make a formatter for numbers? Well, that is, to add generally accepted designations like "thousands." "mil." or there "k", "kk", "kkk". Here and with the width everything will be ok and it will be easy to read.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question