Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Truncate the StaticTextItem value String

$
0
0
Hi,
We are using Smart Gwt-4.1p (29th Oct 2014)
Browser: Google chrome 39.0.2171.95 m, IE8 and IE9
Attached file are TestsmartGwtProject.java and FileDownloadWindow.java
Screenshot: “trimFileName.png”
Issue: Inside dynamic form we have two fields.
1. StaticTextItem File Name .
2. PasswordItem Password Item.
For static text item value, we want to display String without wrap and once it’s riches at the end of window we try to display with dots.
Like inside snapshot after “text” String it has to append (text …)
So please let us know if there is any API.

Thanks,

Attached Images
File Type: png trimFileName.png (16.0 KB)
Attached Files
File Type: java TestsmartGwtProject.java (979 Bytes)
File Type: java FileDownloadWindow.java (2.9 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles