Inconsistency in the documentation concerning copy and move methods

While searching the documentation for a way to copy a row from a DataTable to a Tree, I ran into some wrongly documented methods.

ui.tree - copy is documented correctly. I takes object details as the fourth parameter. ui.tree - move works the same. However, the documentation says it takes id tid as the fourth parameter.

Likewise, ui.datatable - copy expects an object, but the documentation is wrong. If you pass only an ID (as also described in Drag-and-Drop Events), it will not assign the given ID to the newly created item in the target.

I did not check all other components and methods, nor do I have the time to, but I expect that this is the case for all, or at least most, documentation pages for copy and move methods.

I hope that these issues can get fixed before the next person runs into them and has to go on the same hunt as I did.

Hello Marius,

Thank you for being attentive. The API pages and the sample you’ve mentioned are fixed and will be updated with the next Webix release.