pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Editable Table?
Date Mon, 07 Jun 2010 11:47:32 GMT
TableView row editors are really only meant to edit one row at a time. What you describe sounds
like it might actually be more of a use case for a TablePane.

On Jun 6, 2010, at 10:25 PM, Taro App wrote:

> Hi,
> I'm trying to create an editable table using Pivot's TableView. Pivot
> supports TableView.RowEditor which enables one row to be editable when
> double clicked, but I want to make all rows editable at the same time,
> similar to input components in a dataTable in JSF, or input elements
> in a table in HTML. I think it can be done with a custom
> TableView.CellRenderer. To begin, I tried using
> TableViewBooleanCellRenderer and TableViewTextAreaCellRenderer so I
> can make editable table with checkboxes and text areas, but it didn't
> work as I expected; checkboxes and text areas are disabled. I tried
> setting TableView.isEnabled = true, TableViewBooleanCellRenderer
> .isCheckboxDisabled = false, TableViewTextAreaCellRenderer .isEditable
> = true, but it didn't fix the issue. Does anyone know how I should
> proceed?
> apptaro

View raw message