jQuery plugin to enable single or multiple row selection of the HTML table. Select individual rows by clicking them, or use Shift + mouse click for multiple selection.
$(function(){ $("#my-table").selectableList({ selectedClass: "selected", -- the CSS class assigned to selected rows checkSelector: "input[type=checkbox]", -- jQuery selector used to find the checkbox element within a row checkallSelector: "#checkall" -- jQuery selector used to find the "check all" checkbox element (in header) }); });
These are the default option values, if you don't want to override them - use the shorter syntax:
$(function(){ $("#my-table").selectableList(); });
From | To | Subject | Date | |
---|---|---|---|---|
Abbot <oliver@smoke-stage.xyz> | alex@example.com | Booking confirmation #389629244 | May 25, 2011 | |
Addison Begoat <upton.oprdrusson@pear-income.xyz> | alex@example.com | FW: Associate advice | May 7, 2011 | |
Allistair <leroy72@plane-railway.xyz> | alex@example.com | RE: Phone call tomorrow 5 o'clock | May 19, 2011 | |
emmanuel26@ghost.xyz | alex@example.com | Completing basketball project | May 22, 2011 | |
jamalia.alnismith1@twigdad.xyz | alex@example.com | FW: Can you get DE to resubmit accounts? | Apr 26, 2011 | |
lionel.qugy@cribsmoke.xyz | alex@example.com | RE: Catch up at 9:00 to finalise rain spec | May 22, 2011 | |
Madison Lalinesson <melinda.gofagy@wing-language2.xyz> | alex@example.com | RE: Pencil scenarios | May 19, 2011 | |
rajah.nukripyford@cast92.xyz | alex@example.com | Flavor benefit gig | Apr 28, 2011 | |
Sandra Juanhison <yoshi.mostaline72@facefruit.xyz> | alex@example.com | RE: Apparel5 network is back up | May 8, 2011 | |
Sylvester <rose.va@bunpig98.xyz> | alex@example.com | Feedback requested by Ayanna Nuyo | May 1, 2011 | |
veronica@heart.xyz | alex@example.com | Project Book starting 6pm | May 4, 2011 | |
XLN <basia@framehome.xyz> | alex@example.com | RE: Remember Whoopi's joke | May 8, 2011 |