Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
4.4.0 subgrid ondblClickRow problem
25/06/2012
07:15
Avatar
szczepq
New Member
Members
Forum Posts: 2
Member Since:
25/06/2012
sp_UserOfflineSmall Offline

Have somebody noticed that when you dblclick on subgrid row the ondblClickRow event of both subgrid and mastergrid fires. ID passed to function is the same (from subgrid). I haven't got such a problem in 4.3.1 version. 

27/06/2012
19:02
Avatar
trclark
Member
Members
Forum Posts: 7
Member Since:
12/05/2012
sp_UserOfflineSmall Offline

yah I noticed that as well, I saw another post

here

The issue is to do with non unique row id values when using more than 1 grid on a page

so if you set  idPrefix = "XXX" on the subgrid, you can test the id & verify the event is of interest ..

BUT the double click event still runs, so I am not sure this really is the right fix

It still seems no dbl click event should be raised on the master grid, but setting the idPrefix

allow you to verify the summary event since the row id passed in the dblclick is the XXX + rowID of the detail grid… so you can trap the id in the a summary and if that id is not for the summary ignore the event

28/06/2012
09:48
Avatar
szczepq
New Member
Members
Forum Posts: 2
Member Since:
25/06/2012
sp_UserOfflineSmall Offline

thx for an answer. My gridrow id and subgridrow id were different but they could be the same so the problem still occurs. Using idPrefix is a good workaround, i had no idea about this parameter 🙂 i just need to remove prefix manualy when sending gridrow id to get data for subgrid. in other cases is automaticly removed.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
55 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information