Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Question about Binding...

  1. #11
    Join Date
    Sep 2004
    Location
    Ghent, Belgium
    Posts
    224

    Default

    Benoit,

    take a look at the ResizeTableColumnSupport class, see if you can use it. It should be very fast with large tables bacuse it intercepts rendering of the cell renders of the tables, and determines the preferred width for each renderer component. This way, it can determine the preferred column width. One side effect is that it only takes the visible rows into account.

    Hope this helps,

    Peter

  2. #12
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Default Yep...but...

    Hi Peter,

    I had a look at that class a while ago and asked a question about it.
    The issue is that by simply calling
    ResizeTableColumnSupport.install(table)
    it does not resize it immediately but wait for a user to resize or double click to automate it.

    Is there a way to automatically resize all columns using that class? without user input.

    Thanks

    Benoit

  3. #13
    Join Date
    Sep 2004
    Location
    Ghent, Belgium
    Posts
    224

    Default

    I'll look into it...

  4. #14
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Default

    Ping... any progress?

    Thanks a lot

    Benoit.

Similar Threads

  1. Question about Spring Binding
    By shaby775 in forum Web
    Replies: 3
    Last Post: Oct 21st, 2005, 12:41 AM
  2. Replies: 7
    Last Post: Sep 13th, 2005, 01:45 AM
  3. Beginner question on form binding
    By attack7 in forum Web Flow
    Replies: 3
    Last Post: Aug 12th, 2005, 06:28 AM
  4. Question on data binding
    By TRiNiTy in forum Swing
    Replies: 10
    Last Post: Jan 25th, 2005, 07:41 PM
  5. Replies: 2
    Last Post: Aug 17th, 2004, 04:16 PM

Posting Permissions

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