findRowObject

findRowObject(object: Object;
              row:    Integer io): Boolean;

The findRowObject method of the JadeTableSheet class searches the item object values for each row (set by the JadeTableElement class itemObject property) on the sheet for the value specified in the object parameter, starting from the row specified in the row parameter.

A zero (0) value in the row parameter is treated as 1; that is, if this parameter is not specified, the search starts at the first row of the current sheet.

If the specified object is found, this method returns true and the value of the row that contains the specified object. If the specified object is not found, this method returns false and a zero (0) row value. The code fragment in the following example shows the use of the findRowObject method.

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