View Full Version : How to add progress bar to column tree?

31 Jan 2008, 7:56 PM
I have a column tree, two columns, one is "task", another is "progress". The problem is I want to use progress bar to replace the percentage number. How can I do that?

3 Feb 2008, 12:10 AM
I add a progress bar to the column tree like below:

Ext.fly( child.ui.elNode.childNodes[2].firstChild ).dom.innerHTML = "<span id=child.id></span>";
var pb = new Ext.ProgressBar({
renderTo: child.id

It works actually, but strange things happen when the tree has so much child that it need a vertical scrollbar. When I move the scroll bar, the progress bar doesn't render correct, just see the attachment. Any body know what happens?