Your Search Results

    treeitem

    A treeitem should be placed inside a treechildren element and should contain treerow elements. The treeitem can be clicked by the user to select the row of the tree. The treeitem contains a single row and all of what appear to the user as that row's descendants.

    In a template condition, you should use a treeitem instead of a content element when the dont-build-content flag is specified. Set the uri attribute to the variable name to bind to a content node during matching.

    More information is available in the XUL tutorial.

    Attributes
    container, empty, label, open, uri

    Examples

    (example needed)

    Attributes

    container
    Type: boolean
    Set to true if the element is to act as a container which can have child elements. This would be used for folders. This will be set by the template builder as needed.
    empty
    Type: boolean
    Set to true if the element is a container that contains no children. This will be set by the template builder as needed.
    label
    Tipo: string  (concatenación de caracteres)
    Para un árbol tree con columnas simples, la etiqueta puede ser colocada directamnete sobre el elemeto "treeitem" sin la necesidad de una fila "row" y un elemento "treeitem" dentro.

     

    open
    Type: boolean
    For the menu type buttons, the open attribute is set to true when the menu is open. The open attribute is not present if the menu is closed.

     

    uri
    Type: string
    For template-generated content, the attribute should be placed on the element where content generation should begin. Thus, it should be placed on an element that is a descendant of a template. The value should be set to rdf:*.
    Elements that appear inside the element with the attribute will be repeated for each node in the RDF datasource. Elements outside will appear only once.

    Properties

    Inherited Properties
    align, attributes, allowEvents, baseURI, boxObject, builder, childElementCount, childNodes, children, className, clientHeight, clientLeft, clientTop, clientWidth, collapsed, contextMenu, controllers, database, datasources, dir, firstChild, firstElementChild, flex, height, hidden, id, lastChild, lastElementChild, left, localName, maxHeight, maxWidth, menu, minHeight, minWidth, namespaceURI, nextElementSibling, nextSibling, nodeName, nodeType, nodeValue, observes, ordinal, orient, ownerDocument, pack, parentNode, persist, prefix, previousElementSibling, previousSibling, ref, resource, scrollHeight, scrollLeft, scrollTop, scrollWidth, statusText, style, tagName,textContent, tooltip, tooltipText, top, width

    Methods

    Inherited Methods
    addEventListener(), appendChild(), blur, click, cloneNode(), compareDocumentPosition, dispatchEvent(), doCommand, focus, getAttribute(), getAttributeNode(), getAttributeNodeNS(), getAttributeNS(), getBoundingClientRect(), getClientRects(), getElementsByAttribute, getElementsByAttributeNS, getElementsByClassName(), getElementsByTagName(), getElementsByTagNameNS(), getFeature, getUserData, hasAttribute(), hasAttributeNS(), hasAttributes(), hasChildNodes(), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData

    Elements
    tree, treecols, treecol, treechildren, treerow, treecell and treeseparator.

    Document Tags and Contributors

    Contributors to this page: Sheppy, jswisher, Marsf, trevorh, Pmash, M1k., Mgjbot, Ptak82, Dria
    Last updated by: Sheppy,