Rank: Newbie Groups: Member
Joined: 11/30/2010 Posts: 6
|
Hello, i have a grid with a FullRowMode set to True and there is a js function executed at the ClientSideOnItemSelected-event.
Now i added a Checkbox-Column to the grid. But i cant check it without executing the Java-Script of ClientSideOnItemSelected-event. But it is exactly what i need to do.
The only method i know, how to realise that, is to set FullRowMode to False. But i this case im not allowed to do this.
Do you have a hint how to exclude the checkbox-cell from the ClientSideOnItemSelected-event? Or any other solution for this problem?
thanks, and with kind regards, blob
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can handle the CheckBoxColumn's ClientSideEndEdit to detect whether the checkbox has been clicked. However that event is triggered on mouse click, so it occurs after ClientSideOnItemSelected event because OnItemSelect is triggered on mouse down. Thus you will need to set a timer inside ClientSideOnItemSelected to delay check whether the column's ClientSideEndEdit is clicked to exclude the checkbox cells.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 11/30/2010 Posts: 6
|
nice idea, i will chack it.
thanks
|