EasyUI Forum
March 28, 2024, 01:27:21 AM *
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 6479 times)
softboy99
Newbie
*
Posts: 43


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

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


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: 43


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!