Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2018

Need way to make a PropertyColumn non-editable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-beta-3
    • 1.1-beta-3
    • None
    • None

    Description

      There is no elegant way to make a non-editale table with the built in PropertyColum in SwingBuilder. i.e.

      def swing = new SwingBuilder()
      def changes = []
      def changeTable = swing.table() {
      tableModel(id: 'tableModel', list: changes)

      { propertyColumn(header: 'Filename', propertyName: 'name') }

      }

      will allow for changes to the objects in the backing data by the user. The ways to turn that off aren't very groovy.

      I'm adding a new editable property in propertyColumn to turn it off.

      Attachments

        Activity

          People

            shemnon Daniel Ferrin
            shemnon Daniel Ferrin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: