How to prevent NSTableColumn from moving
How to prevent NSTableColumn from moving
- Subject: How to prevent NSTableColumn from moving
- From: Sarven Sabunciyan <email@hidden>
- Date: Sun, 16 Nov 2003 21:42:56 -0500
I have an NSTableView which acts like a spreadsheet. The first
column is just numbers for rows so I don't want it to be selectable
nor editable. I also don't want the user to be able to move that
column to another spot in the table. I use:
- (BOOL)tableView:(NSTableView*) tableView
shouldSelectTableColumn:(NSTableColumn*)tableColumn
so that column is not selected (I figured out the preventing the
editing bit). However, the headercell can still be selected and the
column can be moved. How do I prevent this? Thanks in advance.
Sarven
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.