API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TTreeView extends TElement
in package

TreeView

Tags
version
7.6
subpackage

util

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$callback  : mixed
$collapsed  : mixed
$folderCallback  : mixed
$itemAction  : mixed
$itemIcon  : mixed

Methods

__construct()  : mixed
Class Constructor
collapse()  : mixed
Collapse the Tree
expandTo()  : mixed
Expand to Tree Node
fromArray()  : mixed
Fill treeview from an multi-dimensional array
setFolderTransformer()  : mixed
Set node transformer
setItemAction()  : mixed
Set item action
setItemIcon()  : mixed
Set item icon
setSize()  : mixed
Set size
setTransformer()  : mixed
Set node transformer
show()  : mixed
Shows the tag
fromOptions()  : mixed
Fill one level of the treeview

Properties

$folderCallback

private mixed $folderCallback

Methods

__construct()

Class Constructor

public __construct() : mixed

collapse()

Collapse the Tree

public collapse() : mixed

expandTo()

Expand to Tree Node

public expandTo( $key) : mixed
Parameters
$key :

Node key

fromArray()

Fill treeview from an multi-dimensional array

public fromArray(mixed $array) : mixed
Parameters
$array : mixed

setFolderTransformer()

Set node transformer

public setFolderTransformer(mixed $callback) : mixed
Parameters
$callback : mixed

setItemAction()

Set item action

public setItemAction( $action) : mixed
Parameters
$action :

icon action

setItemIcon()

Set item icon

public setItemIcon( $icon) : mixed
Parameters
$icon :

icon location

setSize()

Set size

public setSize(mixed $width) : mixed
Parameters
$width : mixed

setTransformer()

Set node transformer

public setTransformer(mixed $callback) : mixed
Parameters
$callback : mixed

fromOptions()

Fill one level of the treeview

private fromOptions( $options[, mixed $parent = null ]) : mixed
Parameters
$options :

array of options

$parent : mixed = null
Tags
ignore-autocomplete

on


        
On this page

Search results