Dhtmlxtree or treegrid

I would like to display items and have their icons be a status (eg. red, yellow, green). I need to be able to have the status update on the fly. Can this be done with the tree or would a treegrid be a better solution?

Tree has API ( tree.setItemImage ) which can be used to change item dynamically.
In case of TreeGrid you have a bit more flexibility - because multiple different columns can be defined in addition to item’s text , and each of them can be changed dynamically.