Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 907 Bytes

TreeView.setParentSelector.rst

File metadata and controls

46 lines (31 loc) · 907 Bytes

TreeView.setParentSelector

Устанавливает функцию выборки из элемента коллекции идентификатора родителя.

Syntax

TreeView.setParentSelector(value)

Parameters

Name Type Description
value Script Функция выборки из элемента коллекции идентификатора родителя.

Returns

Нет.

Examples

var parentSelector = function (context, args) {
    return args.value ? args.value['parentId'] : null;
}
treeview.setParentSelector(parentSelector);

See Also