Class: GetTreeIconEvent

@nginstack/web-framework/lib/classdef/GetTreeIconEvent~ GetTreeIconEvent


new GetTreeIconEvent()

Evento emitido pela apresentação da grade em árvore.

Example
field.on('getTreeIcon', function (evt) {
   if (!evt.node.level) {
     evt.iconPath = '/treeImages/root.png';
   }
 });

Extends

  • TreeNodeEvent

Members


iconPath :number|string

Chave ou caminho na VFS da imagem que deve ser exibida no nó da árvore.

Type:
  • number | string