I resolved the problem by taking a different approach. I reworked my table to use Scala instead of plain html, javascript, css, etc. and used Scala to restrict the amount of characters printed out on the screen. A solution can be seen here: How to limit the number of characters in a string displayed using Scala
Thank you for everyone who tried to help resolve this problem!