filter_table.js | |
bbop. | Create a dynamic filter for removing rows from a table (where the rows are inside of a tbody). |
Functions | |
filter_table | The table needs to keep the row information in a tbody, not just at the top level. |
Create a dynamic filter for removing rows from a table (where the rows are inside of a tbody).
The repaint_func argument takes the table id as its argument. If a function is not specified, the default function will do nothing.
Functions | |
filter_table | The table needs to keep the row information in a tbody, not just at the top level. |
bbop.widget.filter_table = function( elt_id, table_id, img_src, repaint_func, label )
The table needs to keep the row information in a tbody, not just at the top level.
elt_id | the element to inject the filter into |
table_id | the table that we will operate on |
img_src | [optional] img source URL for the spinner image (defaults to no spinner) |
repaint_func | the repaint function to run after filtering (see above) |
label | [optional] the label to use for the filter |
n/a
The table needs to keep the row information in a tbody, not just at the top level.
bbop.widget.filter_table = function( elt_id, table_id, img_src, repaint_func, label )