View previous topic :: View next topic |
Author |
Message |
mutouaa
Joined: 07 Nov 2007 Posts: 24
|
Posted: Mon Feb 14, 2011 10:26 am Post subject: AllowSelectionChange Parameters startRow and endRow |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Feb 14, 2011 10:09 pm Post subject: |
|
|
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 |
|
|
|