Forum
10:37
10/08/2009
Hello,
there are misunderstanding in the terminology. If you want to select a row you can use setSelection method.
Moreover you should be very carefull in the case of identifirers: JavaScript is case sansitive language. So there are no jQuery.Trigger but only jQuery.trigger and there are exists no event with the name OnSelectRow - there are only the event with the name onSelectRow. By the way it's corresponds to the common naming conversion used in the JavaScripts: the calss names only schould be started with the capital first charactres.
Best regards
Oleg
04:10
09/09/2013
Hello,
I'm also searching how to trigger jqGrid events manually. My grid has hiddengrid: true parameter. So the grid is loaded only if I click on the header button, but I need to trigger click event on this button manually (actually when I click on a button on the same page). I've tried following different code
myGrid.trigger("onHeaderClick");
myGrid.trigger("jqGridHeaderClick");
myGrid.trigger("HeaderClick");
myGrid.trigger("headerClick");
But now effect. Then I tried this one
$(".HeaderButton").trigger("click");
The last example make grid visible, but there is no data loaded
How can I trigger "onHeaderClick"?
Thanks.
Most Users Ever Online: 715
Currently Online:
43 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