Skip to content

Commit

Permalink
Fixed issue #09970: Add pager to survey list of participant
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 3, 2016
1 parent c22ee10 commit fd8739b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/admin/participantdisplay.js
Expand Up @@ -187,6 +187,14 @@ $(document).ready(function() {
{ name:'date_invited',index:'date_invited', width:100,align:'center', sorttype:"string", sortable: true},
{ name:'date_completed',index:'date_invited', width:100,align:'center', sorttype:"string", sortable: true}],
caption: linksHeadingTxt,
pager: second_pager_id,
viewrecords: true,
pgbuttons: true,
pginput: true,
recordtext:'',
pgtext:'',
rowNum:10,
rowList:[10,25,50,100,250,500,1000,2500,5000], /* start with 10 to keep it smaller */
gridComplete: function () {
var recs = $("#"+second_subgrid_table_id).jqGrid('getGridParam','reccount');
if (recs == 0 || recs == null) {
Expand Down

0 comments on commit fd8739b

Please sign in to comment.