Re: [xul-interop] How to get second column content from tree
"Dusan Halicky" <[email protected]> Sat, 21 Apr 2007 13:51:05 +0200
| Newsgroups | gmane.comp.lang.xul.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0795172983== Content-Type: multipart/alternative; boundary="----=_Part_126967_5731150.1177156265101" ------=_Part_126967_5731150.1177156265101 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, it helps me to find the correct answer, here it is ( tree.currentIndex instead of selection): var tree = document.getElementById(treeID); return tree.view.getCellText(tree.currentIndex,t.columns.getNamedColumn (textID)) ------=_Part_126967_5731150.1177156265101 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, it helps me to find the correct answer, here it is (tree.currentIndex instead of selection):<br><span class="q"><br>var tree = document.getElementById(treeID);<br></span>return tree.view.getCellText(tree.currentIndex,t.columns.getNamedColumn(textID))<br><br><br> ------=_Part_126967_5731150.1177156265101-- --===============0795172983== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============0795172983== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ XUL News Wire - http://xulnews.com XUL Job Postings - http://xuljobs.com Open XUL Alliance - http://xulalliance.org _______________________________________________ xul-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xul-talk --===============0795172983==--