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_TopicIcon
Putting links into rows
16/08/2011
16:44
Avatar
tauame
New Member
Members
Forum Posts: 2
Member Since:
16/08/2011
sp_UserOfflineSmall Offline

Hello, Im trying to put a link on each row of my grid, so when the user clicks it, a new page loads with all details of that row. But I cant find any documentation about that. Can anyone help me?

16/08/2011
17:18
Avatar
KevinB
Member
Members
Forum Posts: 6
Member Since:
16/08/2011
sp_UserOfflineSmall Offline

I also made this today:

ondblClickRow: function(id)
           {
             open("index.jsp?s=verbund&verbid="+id, "_self");
           },

*edit*

the "id" is the name of the column..

16/08/2011
20:29
Avatar
tauame
New Member
Members
Forum Posts: 2
Member Since:
16/08/2011
sp_UserOfflineSmall Offline

KevinB said:

I also made this today:

ondblClickRow: function(id)
           {
             open("index.jsp?s=verbund&verbid="+id, "_self");
           },

*edit*

the "id" is the name of the column..


I was thinking about making it look like a <a href="#">link</a>, so it would be more user friendly. And using onclick created another problem, because my grid has multiselect="true" which renders one checkbox in each row, and selecting those checkboxes triggers the event. So, is there a way to make it look like a link?

16/08/2011
23:00
Avatar
tacton
New Member
Members
Forum Posts: 2
Member Since:
16/08/2011
sp_UserOfflineSmall Offline

Had to do something similiar and ended up adding a new column in my model and dynamically generating html links as the data that was held by the row.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
68 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