Forum
19:58
10/08/2009
Hello!
Look at my answer on the stwckoverflow.com. Is it not what you need? In the answer I show how to have different buttons on top and bottom toolbar.
Best regards
Oleg
21:52
02/09/2010
Thanks for your help Oleg. It isn't quite what I was looking for, but it helped me discover a way to get it done.
I'm sure this isn't the best method, but it works for me - hopefully it helps someone else:
$('#pmt-list').jqGrid('navButtonAdd', '#pmt-pager', {
caption: 'Columns',
title: 'Reorder Columns',
onClickButton: remapCols
});
// clone column re-order button to top pager
$("#pmt-list_toppager_left table:first tbody:first tr:last").append(
$('#pmt-pager_left table:first tbody:first tr:last td[title="Reorder Columns"]')
.clone()
.css('cursor', 'pointer')
.click(remapCols)
.mouseover(function(){$(this).attr('class', 'ui-pg-button ui-corner-all ui-state-hover');})
.mouseout(function(){$(this).attr('class', 'ui-pg-button ui-corner-all');})
);
Most Users Ever Online: 715
Currently Online:
44 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