#109 non-editable columns in layer's attribute table


The ability to specify which columns are editable in an layer's
attribute table. Right now, the FID and geometry column are hard-coded
as being the only columns that are not editable. I would like to see
this driven off the layer's FeatureSchema as well. Perhaps there could be a
"isAttributeReadOnly(int attributeIndex)" method added to the
FeatureSchema that could be used in LayerTableModel.isCellEditable(int
rowIndex, int columnIndex).

Primary key attributes that belong to a DynamicFeatureCollection driven
off a database is one example of a non-editable column.


  • Kevin Neufeld

    Kevin Neufeld - 2010-09-02

    I just added a patch for review that seems to address this issue.

    - Added a readonly attribute to a FeatureSchema attribute
    - use the attribute in the LayerTableModel to set if a cell is editable
    - shade cells that are non-editable to light gray.

  • Kevin Neufeld

    Kevin Neufeld - 2010-09-02

    patch commited at r2034.

    pending verification

  • Kevin Neufeld

    Kevin Neufeld - 2010-09-02
    • status: open --> pending
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks