Catch the Arrow group click event

Hello,

I'd like to know how to catch the click event on the arrow Group/Project (the one that collapse group), as in this image, is it possible ? Thanks !



1 Reply

VD Vinitha Devi Murugan Syncfusion Team October 18, 2019 12:33 PM UTC

Hi chevron, 
 
Syncfusion Greetings. 
 
We have achieved your requirement by making use of actionBegin event of the scheduler. Please refer the below sample. 
 
 
  onActionBegin(args:ActionEventArgs){ 
      if(args.requestType==='resourceCollapse'){ 
        console.log('Collapse'); 
      } 
      if(args.requestType === 'resourceExpand'){ 
        console.log('Expand'); 
      } 
    } 
 
Regards, 
M.Vinitha devi 
 


Loader.
Up arrow icon