Welcome Guest Search | Active Topics | Sign In | Register

FullRowMode and Checkbox-Column Options
blob
Posted: Tuesday, December 21, 2010 7:14:16 AM
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
eo_support
Posted: Tuesday, December 21, 2010 9:26:22 AM
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!
blob
Posted: Tuesday, December 21, 2010 9:30:12 AM
Rank: Newbie
Groups: Member

Joined: 11/30/2010
Posts: 6
nice idea, i will chack it.

thanks


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