Data Tables

Select-all checkboxes

11:23 · By Caleb Porzio

Level up. Big time.

Instant access to over 8 hours of content. Explore tons of course code and use it in your own apps.

Yearly

$69 /yearly

Access all screencasts and source code by subscribing on a yearly basis.

Lifetime

$149

Pay once, and get access to all future screencasting content. Forever.

Already a GitHub sponsor? Email us for a discount.

Now that we have basic multi-select checkboxes for the rows in our table, let's take it a step further and add a "select/deselect all" checkbox at the top. There's lots of little ins-and-outs that we'll cover along the way, and you'll also learn how I extract one-off Alpine components for complex interactions like this.

Share