Working with Trees > Classes > TreeColumns
Namespace: PP.Ui;
TreeColumns
The TreeColumn class implements a collection of columns for the TreeList component.
PP.initClass(PP.Ui.TreeColumns, PP.List, "TreeColumns");
Constructor name | Brief description | |
![]() |
TreeColumns | The TreeColumns constructor creates an instance of the TreeColumns class. |
Method name | Brief description | |
![]() |
add | The add method adds an element to the collection. |
![]() |
clear | The clear method removes all objects from the collection. |
![]() |
contains | The contains method determines whether the collection includes the specified element. |
![]() |
getCount | The getCount method returns the number of collection elements. |
![]() |
getItem | The getItem method returns the collection element by the specified index. |
![]() |
indexOf | The indexOf method returns index of the specified collection element. |
![]() |
insert | The insert method inserts an element to the specified position. |
![]() |
insertBefore | The insertBefore method inserts an element to the position before the specified element. |
![]() |
remove | The remove method removes the specified element from the collection. |
![]() |
setItem | The setItem method writes the element to the specified position in the collection. |
Event name | Brief description | |
![]() |
Changed | The Changed event occurs after changing collection state. |
![]() |
Changing | The Changing event occurs on changing collection state. |
Property name | Brief description | |
![]() |
The Id property determines a repository object identifier. |
Method name | Brief description | |
![]() |
clone | The clone method creates an object copy. |
![]() |
dispose | The dispose method deletes the component. |
![]() |
getHashCode | The getHashCode method returns hash code of repository object. |
![]() |
getSettings | The getSettings method returns repository object settings. |
![]() |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
![]() |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. |
![]() |
isLive | The isLive method determines validity of repository object. |
![]() |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. |
![]() |
setSettings | The setSettings method determines repository object settings. |
![]() |
defineProps | The defineProps method creates get and set methods from name array for the specified class. |
![]() |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: