Instance Method

drawGridInClipRect:

Draws the grid lines within the supplied rectangle.

Declaration

- (void)drawGridInClipRect:(NSRect)clipRect;

Parameters

clipRect

The rectangle in the table view’s coordinate system.

Discussion

Draws the grid lines within clipRect, using the grid color set with gridColor.

Subclasses can override this method to draw grid lines other than the standard ones. This method draws a grid regardless of whether the table view is set to draw one automatically.

See Also

Drawing

- drawRow:clipRect:

Draws the cells for the row at rowIndex in the columns that intersect clipRect.

- highlightSelectionInClipRect:

Highlights the region of the table view in the specified rectangle.

- drawBackgroundInClipRect:

Draws the background of the table view in the clip rect specified by the rectangle.