simple-datatables icon indicating copy to clipboard operation
simple-datatables copied to clipboard

row-selection plugin

Open ebrensi opened this issue 4 years ago • 3 comments

Hello Simple-Datatablers! Like many of you I came here looking for a lightweight alternative to the excellent but over-featured jQuery DataTables library.

Simple-DataTables is fantastic except for that I would like to be able to select rows and have a selection event. I can do that by adding an event listener to the HTML table node myself, but a plugin would be nice and I will write one if there is not one already out there.

So (1) is there a listing of Simple-DataTables plugins somewhere? If not, can you add one here on the wiki? (2) has someone already written a row-selection plugin?

Thanks!!

ebrensi avatar Mar 20 '20 20:03 ebrensi

and did you write one? :-)

DNWEIJ avatar Nov 19 '21 10:11 DNWEIJ

DId this ever get implemented?

Thanks

MarquesCoding avatar Apr 19 '22 16:04 MarquesCoding

@MarquesCoding I ended up just coding my Table in JavaScript and writing my own selection handler. SimpleDatatables turned out to be more than I needed.

ebrensi avatar Apr 19 '22 21:04 ebrensi

@ebrensi @MarquesCoding @DNWEIJ

Row selection is now part of the main library. There is also a demo for it here: https://fiduswriter.github.io/simple-datatables/14-row-navigation/ . Hope that works for you!

johanneswilm avatar Jan 10 '23 23:01 johanneswilm