How can I retrieve data from datatables with checkboxes

How can I retrieve data from datatables with checkboxes

EduardoDosEduardoDos Posts: 2Questions: 2Answers: 0

I'm building the checkboxes after the ajax request with columnDefs, this way:
'render': function (data, type, full, meta){
return <input type="checkbox" name="category${full.category_id}[]" +
class="companies_check_${full.category_id}" +
value="${full.company_id}" ${full.research_id ? 'checked' : ''}>

When I send post method by ajax, the only data I get is the data from the first page

Answers

  • kthorngrenkthorngren Posts: 21,152Questions: 26Answers: 4,919

    When I send post method by ajax, the only data I get is the data from the first page

    Not sure I understand what you are trying to do or how/what data you are retrieving.

    How are you trying to get the data?

    Are you using server side processing or have deferred render enabled?

    Please post your code. Or better a link to your page or a test case replicating the issue.

    Kevin

This discussion has been closed.