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?

sushanthsushanth Posts: 3Questions: 0Answers: 0
edited February 2018 in Free community support

$('#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

This discussion has been closed.