Closed
Bug 276147
Opened 20 years ago
Closed 20 years ago
XUL tree column picker should not require ids on columns.
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugs, Unassigned)
Details
Attachments
(1 file)
|
2.11 KB,
text/plain
|
Details |
Currently for the column picker to work tree columns need to be uniquely ided. Because the current code uses document.getElementById(columnID) this fails when multiple trees with the same column ids are actively displayed in a single application. This can happen for example if an application allows multiple views of the same data at the same time.
The attached XML file contains a possible solution. This would replace the current columnpicker binding. Since each time the popup is created it creates the column list, it is simple enough to just use a reference to the actual column object rather than reference by id.
Comment 2•20 years ago
|
||
The tree widget was changed in bug 221619 to not require ids, so this change isn't necessary. Regardless, having two elements in the same window with the same id isn't valid anyway.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #2) > Regardless, having two elements in the same window with the same id isn't valid > anyway. > This is exactly why this ticket needed to be resolved, so that a developer could clone a tree node and not need to change the ids on the columns, instead leaving the ids out. good to see it was resolved.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•