EasyUI Forum
April 22, 2018, 01:05:42 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tree nodeExpand event not fired.  (Read 221 times)
softboy99
Newbie
*
Posts: 38


View Profile Email
« on: March 30, 2018, 03:29:23 AM »

Tree nodeExpand event not fired.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3243


View Profile Email
« Reply #1 on: March 30, 2018, 03:56:07 AM »

It does fire when the user clicks on the node to expand it.
Code:
<eui-tree [data]="data" [(selection)]="selection" (nodeExpand)="onNodeExpand($event)">
</eui-tree>
Logged
softboy99
Newbie
*
Posts: 38


View Profile Email
« Reply #2 on: April 01, 2018, 06:04:42 PM »

Hi,
I have made it worked. The node data must have "state"
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!