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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • fx2.1, 7u6
    • javafx
    • 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)

      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;
      }

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: