Download the Application for Part 3
Download the Source Code for Part 3
(TableTester 3 contains all functionality of parts 1 and 2, no need to get them particularly, but here they are:)
Download the Application for Part 1
Download the Source Code for Part 1
Download the Application for Part 2
Download the Source Code for Part 2
// FIX the data cell that, for some reason, has "drawsBackground" set on. NSTableColumn *titleColumn = [oReadTable tableColumnWithIdentifier:@"title"]; [[titleColumn dataCell] setDrawsBackground:NO]; titleColumn = [oSearchTable tableColumnWithIdentifier:@"title"]; [[titleColumn dataCell] setDrawsBackground:NO];
The vertical grid lines are not updated correctly when you resize the column widths. A fix to this, courtesy of Eric Roccasecca of CE Software, is to add this to the drawGridInClipRect: method:
[[self superview] setNeedsDisplayInRect:[[self superview] bounds]];
Another bug is when you resize the window after having decreased the size of the name column, the stripped background is not drawn at some locations. This can be fixed by settings the resizing springs of the NSTableView subclass widget.