Forum

July 12th, 2025
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
Dropdown on Toolbar
23/05/2012
22:34
Avatar
lfcmendes
Member
Members
Forum Posts: 3
Member Since:
18/05/2012
sp_UserOfflineSmall Offline

Hello, I would like to display a drop down on the top of the grid when the user hover over the dropdown opens. The dropdown will have a set of functionality to be applied to the selected row. Any examples on how to accomplish this? Thanks in advance.

25/05/2012
21:57
Avatar
Arvind Yadav
Member
Members
Forum Posts: 12
Member Since:
16/11/2011
sp_UserOfflineSmall Offline

Hi,

Add toolbar: [true:'top'] in the grid configuration to add the toolbar. Then you can add the dropdown to the toolbar using:

$('#t_<grid_name>').append('<select id='testId'></select>');

t_<grid_name> is the id of the toolbar. As you have the id you can easily define the operations on the hover event.

grid_name is the id of the table that you want to convert into the jqgrid.

Thanks,

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

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