Functiondijit.Tree.mayHaveChildren

dojo.require("dijit.Tree");
defined in dijit/Tree.js

User overridable function to tell if an item has or may have children. Controls whether or not +/- expando icon is shown. (For efficiency reasons we may not want to check if an element actually has children until user clicks the expando node)

Usage

function (item) (view source)
parametertypedescription
item