reloadData()
Marks the table view as needing redisplay, so it will reload the data for visible cells and draw the new values.
Declaration
func reloadData()Discussion
This method forces a redraw of all the visible cells in the table view. If you want to update the value in a single cell, column, or row, it is more efficient to use frameOfCell(atColumn:row:), rect(ofColumn:), or rect(ofRow:) in conjunction with the setNeedsDisplay(_:) method of NSView. If you just want to update the scroller, use noteNumberOfRowsChanged(); if the height of a set of rows changes, use noteHeightOfRows(withIndexesChanged:).
See Also
Related Documentation
noteHeightOfRows(withIndexesChanged:)frameOfCell(atColumn:row:)noteNumberOfRowsChanged()rect(ofColumn:)rect(ofRow:)