Forum


17:03

22/08/2008

Hi,
I have a column in my grid that has a link on it that is built server side when the data is loaded. I also have multi select enabled so the user can select several files for download as a self extracting exe. The link in the column is for a direct download of a single file.
The issue is when the user clicks the link it also selects the row which I don't want to happen.
Is there a way to get around this? Possibly make the rows only selectable via the checkbox instead of clicking anywhere on the row.
Thanks,
Snorkel
04:41

Moderators
30/10/2007

Use multiselect:true and multykey: "ctrKey" - this way the selection is done only when the ctr key is pressed
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
09:30

22/08/2008

Tony,
The problem with that is the check box still checks itself when the user clicks the row, so many users will think that the row is selected.
A better solution would be to have a option where the row is considered selected only if the check box is checked.
Also the users of my app would probably complain about have to do
a CTRL click to select a row.
Any other ideas how to have a link in a column and seperate that click from the row select click?
Later,
Snorkel
10:51

Moderators
30/10/2007

Will see if we can implement such logic. Thanks.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
75 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66