BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
<GRID>
$("#Grid").ejGrid({
dataSource: data,
allowPaging: true,
allowSorting: true,
actionComplete: 'complete',
pageSettings: {
enableTemplates: true,
template: “<div class='e-pagercontainer' id='showRecords'><span></span></div>",
showDefaults: false
},
columns: [
. . .
]
});
<Action Complete event>
function complete(args) {
. . .
$("#showRecords").find('span').text('Showing'+' '+ this.model.pageSettings.pageSize+ ' ' +'of' +' '+ this.model.pageSettings.totalRecordsCount +' '+ "records");
$("#currentPage").val(this.model.pageSettings.currentPage);
. . .
}
<CSS for showing pager details in right most border of parger container >
<style>
. . .
#showRecords{
background-color: white;
}
. . .
.e-pagercontainer #showRecords{
float:right;
margin-left:800px;
}
</style> |