Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Event for insertion Item into ContainerNode (Read 2399 times)
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Event for insertion Item into ContainerNode
Jan 30th, 2014 at 3:57pm
Print Post  
Hello,
Which event reacts to insertion of several elements in containerNode?
If I select one element and insert in containerNode then event NodeModifying functioned.
If I of several elements insert in containerNode then event NodeModifying no reaction has.

Many thanks in advance
Kuzya
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Event for insertion Item into ContainerNode
Reply #1 - Jan 30th, 2014 at 4:47pm
Print Post  
Hi,

Try ContainerChildAdded.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Re: Event for insertion Item into ContainerNode
Reply #2 - Jan 31st, 2014 at 8:48am
Print Post  
Hi,
Many thanks for your help.
But I would like to stop or to cancel the whole Prosses.
In the event  NodeModifying I can stop with the CancelDrag() the Prosses.
How do I make that with the ContainerChildAdded ?

Kind regards
Kuzya
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Event for insertion Item into ContainerNode
Reply #3 - Jan 31st, 2014 at 10:19am
Print Post  
You cannot stop it from the ChildAdded event. You could handle SelectionMoving if you need to cancel for multiple selected items.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Kuzya
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 45
Joined: Dec 19th, 2011
Re: Event for insertion Item into ContainerNode
Reply #4 - Jan 31st, 2014 at 4:01pm
Print Post  
Hi,
Hearty thanks for your help! Everything functions!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint