[SOLVED]Hide overflow text part of column in Dashboard table

Moderator: crythias

Locked
longnguyenotrs
Znuny newbie
Posts: 11
Joined: 02 Jan 2013, 19:03
Znuny Version: 3.1.6
Real Name: Long Nguyen
Company: CyberWolf

[SOLVED]Hide overflow text part of column in Dashboard table

Post by longnguyenotrs »

Hi all,

My situation is as follow: In Dashboard table, there is some columns (such as agent name) which sometime have text too long so that it will break to 2 or more rows. I want to hide the overflow text part of those columns and show only the begging part which within the size of the columns in 1 row.
For example: The text is "aaaaaaaaaaaaaaaaaaaa", but the column width can hold only first 4 characters so it will display as "aaaa...".
Could anyone help me on this, even if to modify the source code. Thanks for advance.

Best regards,

Long
Last edited by longnguyenotrs on 08 Jan 2013, 18:56, edited 1 time in total.
longnguyenotrs
Znuny newbie
Posts: 11
Joined: 02 Jan 2013, 19:03
Znuny Version: 3.1.6
Real Name: Long Nguyen
Company: CyberWolf

Re: Hide overflow text part of column in Dashboard table

Post by longnguyenotrs »

Could anybody help me on this please?

Best regards,

Long
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Hide overflow text part of column in Dashboard table

Post by crythias »

take a look at the .dtl files that do what you want and mimic it for your case.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
longnguyenotrs
Znuny newbie
Posts: 11
Joined: 02 Jan 2013, 19:03
Znuny Version: 3.1.6
Real Name: Long Nguyen
Company: CyberWolf

Re: Hide overflow text part of column in Dashboard table

Post by longnguyenotrs »

crythias wrote:take a look at the .dtl files that do what you want and mimic it for your case.
Thanks for your reply, crythias. I have solved it.
Locked