Lines Matching refs:children
518 if (datum.children) {
523 group.children=[];
524 $(datum.children).each2(function(i, childDatum) { process(childDatum, group.children); });
525 if (group.children.length || query.matcher(t, text(group), datum)) {
582 if (item.children) {
583 count += countResults(item.children);
855 children:[],
898 compound=result.children && result.children.length > 0;
905 if (compound) { node.addClass("select2-result-with-children"); }
925 populate(result.children, innerContainer, depth+1);
956 children, placeholderOption, process;
966 element.children().each2(function(i, elm) { process(elm, group.children); });
967 if (group.children.length>0) {
973 children=element.children();
976 if (this.getPlaceholder() !== undefined && children.length > 0) {
979 children=children.not(placeholderOption);
983 children.each2(function(i, elm) { process(elm, data.results); });
1326 if(this.dropdown[0] !== this.body().children().last()[0]) {
1432 var results = this.results, children, index, child, hb, rb, y, more;
1448 children = this.findHighlightableChoices().find('.select2-result-label');
1450 child = $(children[index]);
1455 if (index === children.length - 1) {
1804 var firstOption = this.select.children('option').first();
3033 compound = this.results.find(".select2-result-with-children"),
3040 // mark all children of the selected parent as selected
3046 // hide an optgroup if it doesn't have any selectable children
3237 .children(".select2-search-choice")