Click here to Skip to main content
15,906,574 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to export to pdf an editable textbox values in datatable using jquery

What I have tried:

JavaScript
$('#example2').DataTable({

            "processing": true,

            //"sAjaxSource": "/Master/AddDivision",
            "dom": 'lBfrtip',
            "buttons": [
            {
                extend: 'collection',
                text: 'Export',
                buttons: [
                    'copy',
                    'excel',
                    'csv',
                    'pdf',
                    'print'
                ]
            }
            ],
            destroy: true

        });


but these values are editable so it can not show in excel or pdf are blank.so give me solution..
Posted
Updated 22-Jul-18 20:43pm
v4
Comments
Richard MacCutchan 23-Jul-18 3:13am    
You need a library or addon for each type that will accept the raw data and convert it to the required format.
Member 12227707 23-Jul-18 8:03am    
please give me any reference for code.
Richard MacCutchan 23-Jul-18 8:24am    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900