enableSmartRendering in version 4.0.1 pro edition

Hello,

My development team has purchased the professional version of dhtmlxSuite. We just downloaded version 4.0.1 today and I’m trying to upgrade our code, but I’ve found a problem with the dhtmlxTree component. According to the documentation at [url]http://docs.dhtmlx.com/api__dhtmlxtree_enablesmartrendering.html[/url], the tree should have an enableSmartRendering function in the pro edition. Despite this, I’m getting errors when trying to start my application, claiming that this function doesn’t exist. I’ve opened up both dhtmlx.js and dhtmlxtree.js in a text editor to confirm this, and I can’t locate the enableSmartRendering function for the tree in either file.

Was enableSmartRendering() removed from the dhtmlxTree in version 4.0.1?

  • If so…
    [list]
    [*]Are those performance improvements enabled or disabled by default? If disabled, is there any way to turn them back on?
  • Could the documentation be updated to reflect this change?
    [/:m]
    [
    ]If not… where is it?[/*:m][/list:u]

Thanks for your time.

Hello
You need to add dhtmlx_deprecated.js file to get it work. This method is deprecated for now.

Thank you, the documentation doesn’t have this marked as deprecated so I hadn’t expected to find it there. Why has this been deprecated?

We will mark it soon as deprecated, sorry. We are going to rewrite dhtmlxTree, it willl be more faster than existed one and some methods won’t be necessary.