Closed
Bug 298230
Opened 20 years ago
Closed 20 years ago
uncaught exception when trying to read xul tree cell value
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mprzytulski, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050619 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050619 Firefox/1.0+ When trying to get value of selected row in xul tree java script console returns a error: Error: uncaught exception: [Exception... "Could not convert JavaScript argument arg 1 [nsITreeView.getCellText]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://www.xulplanet.com/tutorials/xulqa/treeselect.xul :: doSelect :: line 22" data: no] Reproducible: Always Steps to Reproduce: 1.Select first row i tree (from example) 2. 3. Actual Results: Error: uncaught exception: [Exception... "Could not convert JavaScript argument arg 1 [nsITreeView.getCellText]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://www.xulplanet.com/tutorials/xulqa/treeselect.xul :: doSelect :: line 22" data: no] Expected Results: Shod return value of selected row (selected cell)
Comment 1•20 years ago
|
||
The tree API has changed in Mozilla 1.8/Firefox 1.1. It now takes TreeColumn objects rather than column ids for various functions.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•