findObject

findObject(object: Object;
           column: Integer io;
           row:    Integer io): Boolean;

The findObject method of the JadeTableSheet class searches every cell of the sheet for the value specified in the object parameter, starting from the cell specified by the column and row parameters.

The column of each row is searched, and zero (0) values in the column and row parameters are treated as 1; that is, if these parameters are not specified, the search starts at the first column of the first row of the current sheet.

If the specified object is found, this method returns true and the values of the column and row that contain the specified object. If the specified object is not found, this method returns false and a zero (0) column and row value.

The code fragment in the following example shows the use of the findObject method.

row := 0;
col := 0;
if table1.accessSheet(2).findObject(obj, row, col) then
    delete obj;
    table1.accessSheet.removeItem(row);
endif;