DHTMLX Docs & Samples Explorer

setCustomSortFunction(func)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxtree_sb.js

set custom sort functions, which has two parametrs - id_of_item1,id_of_item2

  • func - sorting function