Functiondijit.tree.TreeStoreModel.mayHaveChildren

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

Tells if an item has or may have children. Implementing logic here avoids showing +/- expando icon for nodes that we know don't have children. (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