A question about the splitter

Hi,

I have a question about the splitter.
I try to repeat this example (Programmatically control the expand and collapse action)
in  https://ej2.syncfusion.com/vue/documentation/splitter/expand-collapse/#expand-and-collapse

The pane can be expanded or collapsed by the button.
However, the action also can activated by the arrow of Separator.
Can I cancel the above-mention function ?

Thanks 

Franky

1 Reply 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team November 4, 2020 10:20 AM UTC

Hi Franky, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. Yes, you can prevent the Expand/Collpase action by using the beforeCollapse and beforeExpand events, eventArgs using args.cancel as true. We have also prepared a sample that tries to meet your requirements. 
 
 
API links:  
 
Please let us know if the solution helps, 
 
Regards, 
Indrajith 


Marked as answer
Loader.
Up arrow icon