Add checkboxes on the first column for mark individual rows
Add checkboxes on the first column for mark individual rows
Hi there, I'm newbie here and using DataTables and also have not much experience using jQuery/Javascript so be patient ;) I need to add a first column on my DataTables elements to mark individual rows and don't know how to do this right now so any help will be appreciated. The idea is on thead
is there is one, where columns legend goes, put a checkbox for select all the rows on the table but also on each tr
put an individual checkbox
to allow choice multiples rows but not all. After get this done I need to copy all the marked rows and append to another DataTable if the new one has rows, otherwise is just copy the content from one DT to another DT. The first DT is show on a Twitter Bootstrap modal component and I have a button to copy the selected rows to the second DT which is on the background (outside the Bootstrap modal), can any give me some help or advice?