Closed
Bug 278536
Opened 20 years ago
Closed 4 years ago
Tree documentation: setCellText and redrawing.
Categories
(Developer Documentation Graveyard :: Mozilla Platform, defect, P5)
Developer Documentation Graveyard
Mozilla Platform
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: goodwill.mozilla.bugzilla, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
20.00 KB,
application/octet-stream
|
Details |
This is relations to bug 278484. Thee is little documentation for the tree object out there, but I learned this bit and with bz's blessing I am filing a bug an bit about setCellText and redrawing. ------ Unlike many other controls the data for the tree.view is stored in a custom data type that the developer defines. The developer needs to write a contructor/prototype for the view of any tree and apply to that view. The function with teh constructor are responsible for manipulating and maintaining the data. Basically they are get, set and functions of the tree.view As of today the best place to figure out how the tree works is look at the pageinfo.js and pageinfo.xul of Seamonkey release 1.8a6 (look at the attachments). As I learned from the esteemed bz the developer is responsible for setting up a way to have tree redrawn when the underlying data has been changed. That can be done by issuing of the invalidate functions after the change has occured. There are many invalidate methods available: invalidate(), invalidateCell(row, column),and etc.. http://www.xulplanet.com/references/objref/TreeBoxObject.html#method_invalidate The attachment above show several implementations and gives you a general idea on how to use them.
Reporter | ||
Comment 1•20 years ago
|
||
Draft 0.1. Sample xul and JS file to demostrate how to uset setCellText and invalidate methods of the tree.view
Updated•18 years ago
|
Assignee: endico → nobody
Component: Mozilla Developer → Documentation Requests
OS: Windows Server 2003 → All
Product: Documentation → Mozilla Developer Center
QA Contact: imajes → doc-request
Hardware: PC → All
Assignee | ||
Updated•12 years ago
|
Component: Documentation Requests → Documentation
Comment 2•12 years ago
|
||
Automatically closing all bugs that have not been updated in a while. Please reopen if this is still important to you and has not yet been corrected.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 3•12 years ago
|
||
Reopening for review by Sheppy.
Assignee: nobody → eshepherd
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Updated•12 years ago
|
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
Updated•11 years ago
|
Whiteboard: u=webdev p=0
Updated•11 years ago
|
Assignee: eshepherd → bruant.d
Component: General → DOM
Keywords: #relman/triage/needs-info
Whiteboard: u=webdev p=0 → u=webdev p=0 c=DOM
Comment 4•11 years ago
|
||
This seems like a XUL feature, so Mozilla-internal documentation. What's the good component/product for that?
Flags: needinfo?(eshepherd)
Updated•11 years ago
|
Assignee: bruant.d → eshepherd
Component: DOM → Mozilla Platform
Flags: needinfo?(eshepherd)
Updated•7 years ago
|
Assignee: eshepherd → nobody
Priority: -- → P5
Whiteboard: u=webdev p=0 c=DOM
Comment 5•4 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•