Use jquery-styled row selection on angular-datatables, how to ?

Use jquery-styled row selection on angular-datatables, how to ?

nemcuonnemcuon Posts: 16Questions: 6Answers: 1

Hi all,

The row selection style of jquery https://datatables.net/extensions/select/examples/api/select.html is exactly what I need, but I am currently using https://github.com/l-lin/angular-datatables for data display and reload.

How can I combine these two awesome libraries ?

I've tried without success for the last couple of hours.

Thanks,
(I've also posted this question on the website of angular-datatables https://github.com/l-lin/angular-datatables/issues/743)

This question has an accepted answers - jump to answer

Answers

  • nemcuonnemcuon Posts: 16Questions: 6Answers: 1

    I've found the answer, in angularjs-datatable I only need to use

    dtOptions : DTOptionsBuilder.withOption('select', true);

  • allanallan Posts: 63,414Questions: 1Answers: 10,454 Site admin
    Answer ✓

    Thanks for posting back with the solution. I haven't used the Angular integration for DataTables much, so that a very useful thing to know.

    Regards,
    Allan

This discussion has been closed.