Solved this issue, by playing with the DOM!

dperez wrote:
> 
> Hi,
> 
> I'm implementing the checkbox stuff in
> qx.ui.treevirtual.SimpleTreeDataCellRenderer, and have no problems, apart
> from this:
> 
> I need to set the checked state in my checkbox.
> I do it in this event:
>   qx.ui.table.cellrenderer.Abstract.updateDataCellElement()
> 
> I use the cellInfo.selected to know the checked state and the
> document.getElementById() to locate the checkbox emulation.
> 
> Problem:
>   I need to assign an unique ID if I wish to use
> document.getElementById().  I've thought using the nodeId of the current
> node.
>   But after expanding/collapsing nodes, I've seen that the nodeId isn't
> invariant.
>   Other alternative is to search my pseudo-checkbox in the DOM, withouth
> using an ID, but is more tricky.
> 
> Any ideas?
> 
> I forgot about unique IDs after using qooxdoo, but for this lower level
> stuff seems to be necessary again.  :-(
> 

-- 
View this message in context: 
http://www.nabble.com/TreeVirtual-with-checkboxes-tf4151531.html#a11861212
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to