The previous post on this topic was about pointing some solution, which doesn't always work.
I think I was able to identify the problem for this issue.
It is becasue the chain of events is the following when you select a new row:
1. RowDeselected.
2. RowSelecting.
3. RowClick.
3. RowSelected.
I am not quite able to find the logic here.
I think in normal english I should be able to say:
"I am clicking on a row."
"I am in a process of selecting a row." (if not canceled)
"I am deselecting the old row."
"I have selected the new row."
At least the RowClick in my opinion should be fired prior the events described above as it occurs before everything else. You are initiating the above chain of events by clicking on a row so all of them should follow in my opinion.
To me the fact that RowDeselected is before RowSelecting is not such a bad solution. I just can't get why the RowClick is between RowSelecting and RowSelected events.
Any clues?
No comments:
Post a Comment