When downloading table content in the form of pdf,integer values goes missing.How to solve it?
When downloading table content in the form of pdf,integer values goes missing.How to solve it?
$('#business_plan_data').DataTable( {
data: $scope.businessPlanList,
columns: [
{ "data": "farmName" ,title:"Farm Name "},
{ "data": "farmType" ,title:"Farm Type"},
{ "data": "farmSubtype" ,title:"Farm Sub-Type"},
{ "data": "count" ,title:"Count"},
{ "data": "createdDtm" ,title:"Created On"},
{ "data": "endDate" ,title:"End Date"},
{ "data": "tenure" ,title:"Tenure"}
],
dom: 'Bfrtip',
destroy: true,
"pageLength": 20,
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
} );
Here count and tenure are integer values which I retrive from server,How to make it work for all types of values?
Replies
Duplicate of this thread. Closing.