normally, it should show how many articles from the first to the first, how many articles in total, why mine become zero? do you need to write your own js to dynamically load this
var oTableInit = new Object();
//Table
oTableInit.Init = function () {
$("-sharptb_internJob").bootstrapTable({
url: "http://localhost:8070/", //URL*
method: "post", //*
toolbar: "-sharptoolbar", //
striped: true, //
cache: false, //true*
pagination: true, //*
sortOrder: "asc", //
queryParamsType:"",
paginationShowPageGo: true,
showJumpto: true,
pageNumber: 1, //
queryParams:queryParams,//
sidePagination:"server",//
pageSize:1,//
pageList:[2,3,4,5],//
smartDisplay:false,
search: true, //
silent: true,
showColumns: true, //
showRefresh: true, //
minimumCountColumns: 2, //
// clickToSelect: true, //
// height: 500, //height
uniqueId: "internshipJobId", //
columns: [{
checkbox: true
}, {
field: "jobName",
title: "",
align: "center",
}, {
field: "releaseTime",
title: "",
align: "center"
}, {
field: "expiredTime",
title: "",
align: "center"
},{
field: "operation",
title: "",
align: "center",
events:operateEvents,//
formatter:addFunctionAlty//
}]
});
};
//
function queryParams(params) {
var temp = { //
pageNum: params.pageNumber,
pageSize: params.pageSize,
jobType:jobType,
isExpired:isExpired
};
return temp;
};
return oTableInit;
};