Skip to content

trimentor/jquery-tableSelect

Repository files navigation

== jQuery tableSelect Plugin - Row Selection made easy

Allow selection of just one single row in a table's tbody section:
$("#tableSelectOne").tableSelectOne();

Allow selection of multiple rows in a table's tbody section:
$("#tableSelectMany").tableSelectMany();

It is possible to execute a function each time a row has been changed:
$(document).bind('rowchange', function(event, table) {});

Some useful methods:
  table.allSelected()   // Are all rows selected?
  table.getFocusedRow() // Get last active row
  table.getSelections() // Get all selected rows
  table.isSelected(row) // Is this row already selected?

About

With the jQuery tableSelect plug-in it is a piece of cake to select a single or even multiple rows within a table's tbody content section.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published