Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllowSelectionChange Parameters startRow and endRow

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
mutouaa



Joined: 07 Nov 2007
Posts: 24

PostPosted: Mon Feb 14, 2011 10:26 am    Post subject: AllowSelectionChange Parameters startRow and endRow Reply with quote

Hello Infralution Team,

Here I encountered an issue that in the override method AllowSelectionChange, the parameters startRow and endRow always reference to the same object (same row), my virtual tree is in Row selection mode. could you please help that if there is a method to identifiy the startRow and endRow before selection changing? thank you!
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Feb 14, 2011 10:09 pm    Post subject: Reply with quote

I've just checked the behaviour of AllowSelectionChange and it appears to be working correctly. What version of Virtual Tree are you using?

The startRow and endRow refer to the first and last in the selection being made. So if the user is just selecting a single row they will be the same. They are only different when the user is making extended selections (ie holding down the shift key while selecting a block of rows).
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group