jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • groovy
  • GROOVY-2085

SwingBuilder muddles up column values in tableModel()

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-2
  • Fix Version/s: 1.1-beta-3
  • Component/s: None
  • Labels:
    None
  • Testcase included:
    yes

Description

When I create a tableModel using propertyColumn() or closureColumn() the data is not taken from the correct part of the model. Instead, when starting, only the first model column is accessed for all view columns. When I change the order manually (i.e. by moving the column with the mouse) all shown data is switched to the model data associated with the now first column.

The test script shows the problem.

It worked in 1.0.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    SwingBuilderModel.groovy
    28/Aug/07 7:51 AM
    0.6 kB
    Joachim Baumann

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Danno Ferrin added a comment - 11/Sep/07 2:42 PM

the modelIndex on the TableColumn object wasn't getting set on column add.

Show
Danno Ferrin added a comment - 11/Sep/07 2:42 PM the modelIndex on the TableColumn object wasn't getting set on column add.

People

  • Assignee:
    Joachim Baumann
    Reporter:
    Joachim Baumann
Vote (0)
Watch (0)

Dates

  • Created:
    28/Aug/07 7:51 AM
    Updated:
    30/Nov/07 10:15 PM
    Resolved:
    11/Sep/07 2:42 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.