-
24 Sep 2009 6:24 PM #1
[CLOSED] [2.0.1] RowEditor column without cell editor style issue
[CLOSED] [2.0.1] RowEditor column without cell editor style issue
There seems to be an issue with a RowEditor where there is no cell editor specified for a column (read only column).
A field on such a column as displayed in the row editor seems to have incorrect style specified (please see attached screenshot).
I took a code from RowEditor Grid example
(http://www.extjs.com/examples-dev/ex...#roweditorgrid)
and disabled editor for "Available" column
Code:column = new ColumnConfig(); column.setId("available"); column.setHeader("Available"); column.setWidth(95); // column.setEditor(new CellEditor(dateField)); column.setDateTimeFormat(DateTimeFormat.getMediumDateFormat()); configs.add(column);
-
6 Oct 2009 7:14 AM #2
When there is no editor, than the string reprasentation of the object gets displayed. It is up to you if something else should be displayed. Marking this as closed.
-
23 Sep 2010 9:32 PM #3
This should be reopened, I have a column that is the ID of the entry, therefore it should not be editable. I don't specify an editor for the column to prevent the user from trying to edit it, by default the column/value design should though remain the same as it was before it was put into an edit mode.
David
-
24 Sep 2010 12:42 AM #4
When there is no editor, a labelfield gets used. You could setup your own labelfield and format the text as needed. We cannot do this change as this would be a braking change.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote