Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Dropdown on Toolbar

No Tags
UserPost

22:34
23/05/2012


lfcmendes

Member

posts 3

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.

21:57
25/05/2012


Arvind Yadav

Member

posts 11

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,

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

R_A_P

85 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9590

Posts: 28782

Membership:

There are 10159 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7009 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information