Instance Method

reloadDataForRowIndexes:columnIndexes:

Reloads the data for only the specified rows and columns.

Declaration

- (void)reloadDataForRowIndexes:(NSIndexSet *)rowIndexes columnIndexes:(NSIndexSet *)columnIndexes;

Parameters

rowIndexes

The indexes of the rows to update.

columnIndexes

The indexes of the columns to update.

Discussion

For cells that are visible, the appropriate dataSource and delegate methods are called and the cells are redrawn.

For tables that support variable row heights, the row height is not re-queried from the delegate; it is your responsibility to invoke noteHeightOfRowsWithIndexesChanged: if a row height change is required.

See Also

Managing the Table's Data

dataSource

The object that provides the data displayed by the table view.

usesStaticContents

A Boolean value indicating whether the table uses static data.

- reloadData

Marks the table view as needing redisplay, so it will reload the data for visible cells and draw the new values.