returns rows that match the criterion
criterion | function | match criteria |
first | boolean | if true, only the first found result is returned. False by default. |
array|object | array of found rows or a row object in case of "first". |
//finds all rows which title match the given value
table.find(function(obj){
return obj.title.toLowerCase().indexOf(value) != -1;
});
Back to top