This is my situation :
- I'm currently in the process of finalizing a rather... huge web application (PHP with CodeIgniter, MySQL, Javascript+Ajax+Jquery and using various Javascript libraries - e.g. dataTables)
The issue :
- Let's say we've got a table, fixed-width.
- The first column is also fixed-width. (Let's say at
200px
) - When the table is populated :
- If the contents of the first column occupy less than 200px space, it's ok.
- If the contents exceed those 200px then the content is wrapped, thus creating a "double line" effect and higher rows than I'd wished.
Hint :
- "Shrinking" a
very very very long line
to something likevery very very ...
is what I'm thinking. Is something like that even possible? Server-side?
How would you approach that? (preferably in an elegant way - 'coz, yep, I admit that I have a few solutions in mind, none of which seems... user-friendly... lol)