The find() method returns the first record in the grid that satisfies the provided testing function. Otherwise undefined is returned.
- Callback function that receives the following arguments:
- Record object with properties for each field in the grid
- Index - the zero-based index of the current grid record being processed
- Records array - array representing all of the grid records
The function must return true when the test condition is met.
An object representing the found record, with properties for each field in the grid. The object is a copy of the record. Modifying the object will not modify the record in the grid.