unable to display footer and pagination buttons
unable to display footer and pagination buttons
![sakitk](https://secure.gravatar.com/avatar/fefe3a5b2a8b01f79a291573d2edfef9/?default=https%3A%2F%2Fvanillicon.com%2Ffefe3a5b2a8b01f79a291573d2edfef9_200.png&rating=g&size=120)
Hi,
I am not able to display Footer in DataTable
Also my pagination button do not display correctly and they tend to merge with the last row of the table.
Any guess.???
[code]
Total
[/code]
[code]
function createTable(tblName, filterParams) {
oTable =null;
oTable = $("#tableData").dataTable({
"sAjaxSource" : "/getTableData/"+tblName,
"fnServerParams": function (aoData) {
aoData.push({name: "filterParamList", value: filterParams});
},
"bProcessing": true,
"iDisplayLength" : 10,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aoColumns" : [ {
"sTitle" : "SSO ID",
"mData" : "sso_id",
"aTargets" : [ 0 ],
"bSortable" : true
}, {
"sTitle" : "Shop Name",
"mData" : "shop_name",
"aTargets" : [ 1 ],
"bSortable" : true,
"sClass" : "dataTable_editable"
}, {
"sTitle" : "User Type",
"mData" : "user_type",
"aTargets" : [ 2 ],
"bSortable" : true,
"sClass" : "dataTable_editable"
}]
});
}
[/code]
I am not able to display Footer in DataTable
Also my pagination button do not display correctly and they tend to merge with the last row of the table.
Any guess.???
[code]
Total
[/code]
[code]
function createTable(tblName, filterParams) {
oTable =null;
oTable = $("#tableData").dataTable({
"sAjaxSource" : "/getTableData/"+tblName,
"fnServerParams": function (aoData) {
aoData.push({name: "filterParamList", value: filterParams});
},
"bProcessing": true,
"iDisplayLength" : 10,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aoColumns" : [ {
"sTitle" : "SSO ID",
"mData" : "sso_id",
"aTargets" : [ 0 ],
"bSortable" : true
}, {
"sTitle" : "Shop Name",
"mData" : "shop_name",
"aTargets" : [ 1 ],
"bSortable" : true,
"sClass" : "dataTable_editable"
}, {
"sTitle" : "User Type",
"mData" : "user_type",
"aTargets" : [ 2 ],
"bSortable" : true,
"sClass" : "dataTable_editable"
}]
});
}
[/code]
This discussion has been closed.
Replies
Allan