Tarteens
7 May 2009, 4:31 AM
Hi everyone,
Here's my problem, I have a Grid with a CheckBoxSelectionModel :
http://images0.hiboox.com/vignettes/1909/4ff6dc56558bc799b7b75bd679727fa6.png (http://www.hiboox.fr/go/images/informatique/example,4ff6dc56558bc799b7b75bd679727fa6.png.html)
The Behavior I want is :
1) When you click on the checkbox, it select / deselect the row (it does)
2) When you have an selection, and you click on the label, it doesn't deselect all the other row, but it just deselect the row you clicked on.
In fact, I just want to know if where is a way to distinguish if the click is on the checkbox or on the label.
Thx for your help.
Here's my problem, I have a Grid with a CheckBoxSelectionModel :
http://images0.hiboox.com/vignettes/1909/4ff6dc56558bc799b7b75bd679727fa6.png (http://www.hiboox.fr/go/images/informatique/example,4ff6dc56558bc799b7b75bd679727fa6.png.html)
The Behavior I want is :
1) When you click on the checkbox, it select / deselect the row (it does)
2) When you have an selection, and you click on the label, it doesn't deselect all the other row, but it just deselect the row you clicked on.
In fact, I just want to know if where is a way to distinguish if the click is on the checkbox or on the label.
Thx for your help.