Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126045

TableView with hidden/invisible columns: resizing of columns gets confused

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1, 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Environment:

      Javafx 2.1, 2.2 (2.2 I just downloaded the current developer preview, installer file name:
      javafx_sdk-2_2_0-beta-b08-windows-i586-08_may_2012.exe)

      Description

      I have a TableView control. When I hide the 1st column, the 2nd coulmn (which is the 1st visible column, i.e. the left-most column) cannot be resized. If I move (drag) the 2nd column (first visible) to a different position in the table, every column resizes properly. If I move the column back to its original left-most position, it cannot be resized again.

      Attached is the code that I have used.

      Here is the declaration of UserData which is missing from the attached file.

      public class UserData
      {
          public UserData(){}
          public int ID;
          public String Name;
          public String Password;
          public Date LastLoginTime;
          public Integer ConnectionPoolID;
          public boolean IsSuperUser;
          public boolean IsEnabled;
          public Date LastModifiedUTC;
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgiles Jonathan Giles
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: