[Project_owners] <tree/> with checkbox not selectable?

eric.jung at yahoo.com eric.jung at yahoo.com
Sun Jul 2 08:40:38 EDT 2006


Anyone?


----- Original Message ----
From: Eric H. Jung <eric.jung at yahoo.com>
To: Mozilla Project Owners <project_owners at mozdev.org>
Sent: Saturday, July 1, 2006 8:56:12 AM
Subject: [Project_owners] <tree/> with checkbox not selectable?

Hi,

I have a <tree/> with a custom view. One of the columns is of type
checkbox::

<treecol
  id="enabledCol"
  label="&foxyproxy.enabled.label;"
  flex="1"
  persist="width ordinal hidden"
  type="checkbox"/>

The view implements these methods to show/hide the checkbox:

setCellValue: function(row, col, val) {p.item(row).enabled = val;},
getCellValue: function(row, col) {return p.item(row).enabled;},    

It appears that the all cells of which can display a checkbox aren't
selectable. That is, when the cell is clicked, its corresponding row
does not highlight. Clicking any other cell in the row yields the
correct behavior (row is highligted).

Does anyone know how to fix this?

Thank for any help,
Eric
_______________________________________________
Project_owners mailing list
Project_owners at mozdev.org
http://mozdev.org/mailman/listinfo/project_owners





More information about the Project_owners mailing list