Bulk Operations

This tutorial will show you how to implement bulk operations on a table using IntercoolerJS.

Video

Outline

Here are the steps for implementing bulk operations

  • Extract a partial of the table and wrap it in a form that uses the ic-src attribute to re-render the table. Give the form a useful ID.
  • Add bulk operation buttons that post to the same URL that the table sources from using the ic-post-to attribute, and include the checked rows by using the ic-post-to.

Git Diff

Here is a diff showing what's necessary to implement the bulk operations:

https://github.com/LeadDyno/intercooler-tutorial-app/commit/0f3499cdf8896180fa50fe9dac48a88315d82256