config.css = "x-treegrid-column";
TreeGrid tree = (TreeGrid)grid;
TreeStore ts = tree.getTreeStore();
Joint j = tree.calcualteJoint(model);
AbstractImagePrototype iconStyle = tree.calculateIconStyle(model);
int level = ts.getDepth(model);
String text = String.valueOf(model.get(property));
String id = tree.findNode(model).id;
return tree.getTreeView().getTemplate(model, id, text, iconStyle, false, j, level - 1);