FooTable - jQuery plugin for responsive HTML tables

Trigger certain FooTable actions programmatically
footable_initialize | footable_resize | footable_redraw | footable_toggle_row | footable_expand_first_row

First Name | Last Name | Job Title | DOB | Status
--- | --- | --- | --- | ---
Isidra | Boudreaux | Traffic Court Referee | 22 Jun 1972 | Active
Shona | Woldt | Airline Transport Pilot | 3 Oct 1981 | Disabled
Granville | Leonardo | Business Services Sales Representative | 19 Apr 1969 | Suspended
Easer | Dragoo | Drywall Stripper | 13 Dec 1977 | Active
Maple | Halladay | Aviation Tactical Readiness Officer | 30 Dec 1991 | Suspended
Maxine | Woldt | Business Services Sales Representative | 17 Oct 1987 | Disabled
Lorraine | Mcgaughy | Hemodialysis Technician | 11 Nov 1983 | Disabled
Lizzee | Goodlow | Technical Services Librarian | 1 Nov 1961 | Suspended
Judi | Badgett | Electrical Lineworker | 23 Jun 1981 | Active
Lauri | Hyland | Blackjack Supervisor | 15 Nov 1985 | Suspended

### FooTable Triggers

There are a number of triggers that you can fire:

`footable_initialize` - trigger FooTable initialize

`footable_resize` - trigger FooTable resize. This may or may not resize the table (depending if the breakpoint has changed)

`footable_redraw` - trigger FooTable redraw.

`footable_toggle_row` - trigger FooTable toggle row. (This must be triggered on the row element)

`footable_expand_first_row` - trigger FooTable to expand the first row's detail row if possible

#### Forcing FooTable to redraw

    $('.do_something').click(function(e) {
        e.preventDefault();
        $('.footable').trigger('footable_redraw'); //force a redraw
    });

#### Toggle a random row

    $('.toggle_random_row').click(function(e) {
        e.preventDefault();

        var rows = $('.footable tbody tr:not(".footable-row-detail")');
        var rand = Math.floor(Math.random()*rows.length);
        var random_row = rows[rand];

        $(random_row).trigger('footable_toggle_row');
    });