find
returns all rows that match the criterion, or only the first one
function find( // the criterion to match criterion: function, // optional, if true, only the first found result is returned. False by default. first?: boolean): array|object
Returns
Section titled “Returns”array,object
an array of found rows or a row object if the 2nd parameter is set to true
Example
Section titled “Example”// finds all rows which title match the given valuegrid.find(function(obj){ return obj.title.toLowerCase().indexOf(value) != -1;});
also check the next samples: