Results 1 to 5 of 5
  1. #1
    diva_garg is offline Member
    Join Date
    Aug 2008
    Posts
    8
    Rep Power
    0

    Default How to trim text in viewer

    Hello,

    In my application, we have created a customized viewer for group by case in viewer(like if u do groupby in detail view). If the text for any column gets exceeded to a large no. of characters that are not accommodated in column area then, how can the text be shown with trimmed characters.
    like in windows showing some text and then ...(3dots).

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    diva_garg is offline Member
    Join Date
    Aug 2008
    Posts
    8
    Rep Power
    0

    Default

    I am using jface viewers....

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Sorry pal, I'm not familiar with JFace. And also the best place too discuss about this is JFace forum. I'll move your thread to JFace forum, and I hope you can find a solution there.

  5. #5
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Default

    Sorry Divya , i think this problem is quite tedious. becoz three ... is default nature in viewer if it's not customized. since your application is having customized viewer then offcourse you also have to customize this three dot problem :) . It would be better if you discuss this problem to whom who has customized viewer or may b ur gr8 batchmate in ur team.

Similar Threads

  1. Annotation Viewer
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-17-2008, 12:01 AM
  2. String trim
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-21-2008, 05:35 PM
  3. iSQL-Viewer 3.0.1
    By Jamie in forum Java Software
    Replies: 0
    Last Post: 06-14-2007, 04:01 PM
  4. iSQL-Viewer 3.0.0
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-04-2007, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •