unable to display footer and pagination buttons
unable to display footer and pagination buttons
sakitk
Posts: 1Questions: 0Answers: 0
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