Categories | Question details Back To List | ||
Bug with setChildCalcHTML() ? Hi, I use the following code to make the item counter appear as superscript: > navitree.setChildCalcMode('leafs'); > navitree.setChildCalcHTML(' <sup>(', ')</sup>'); After I opened and closed a nodes two or more times, the counter grow more and more; it starts with e.g. "nodeName^3", and then becomes "nodename^3 3", ...., "nodeName^3 3 3 3 3", ..... Answer posted by Support on Feb 20, 2008 04:01 Which version of dhtmlxtree are you using? I can't reconstruct problem with latest codebase. If problem still occurs for you - please send any kind of sample where problem can be reconstructed ( you can send it directly to support@dhtmlx.com ) Answer posted on Feb 20, 2008 09:25 never mind - it was my error: I checked the length of each tree item's label, and shortened it in case it's too long - that works not with some added HTML item counter :-) |