Closed
Bug 313134
Opened 20 years ago
Closed 19 years ago
Tree doesn't show column selector
Categories
(Toolkit Graveyard :: XULRunner, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: tom.germeau, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Console::[JavaScript Error: "element has no properties" {file: "chrome://global/
content/bindings/tree.xml" line: 989}]
there should be an extra check
Reproducible: Always
Comment 1•20 years ago
|
||
Please write more detailed descriptions. In what cases does this happen? Can you attach a testcase?
Comment 2•20 years ago
|
||
This code illustrates numerous problems with parsing a string of XUL and inserting it into the DOM vs normal rendering. Set this as your toolkit.defaultChromeURI and run the app.
The first table will parse properly and load up with column draggability, resizing and the column selector. Almost identical XUL inserted from string using DOMParser renders the tree, but loses all of these pieces of functionality. I realize that DOMParser does not do everything that loading the application in the browser does, but is this a bug or is it 'as designed'? If it is 'as designed' - is there a way to 'initialize' the tree? Curiously enough - it works 'better' (assuming that this isn't by design) with the runner off the trunk.
Comment 3•20 years ago
|
||
This one also adds an onclick to the first column that should output whether or not the tree element has the 'enableColumnDrag' attribute set on it. The parsed version does not.
Comment 4•20 years ago
|
||
My comments I believe are actually a seperate bug, newly opened as Bug #338159
| Reporter | ||
Comment 5•19 years ago
|
||
I can not reproduce this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Resolution: FIXED → WORKSFORME
| Assignee | ||
Updated•10 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•