I am trying to create a column with an empty string as the identifier but changing the empty string with the word cocoa For every time I try to make the column "field" how can you go around this?
Column with the check box before the {{NSTableView * [[NSTableColumn alloc] initWithIdentifier: @ ""] Equals of Auto;; // checkbox can be started without a title; NSButtonCell * checkbox = [[[NSButtonCell alloc] initTextCell: @ ""] AutoWaves]; [Checkbox set disabled: yes]; [Checkbox setbutton type: NSSwitchButton]; [Checkbox set imaging: nsimaj only]; [Set checkboxTrint size: NSSMLA control-size]; // Add the column with the checkbox for the table [column set datasell: checkbox]; // Add table to column [table addTableColumn: column]; }
Identifier of a column is not the same as its title. You want to set the string value of your-header cell:
[[columnColumn headerCell] setStringValue: @ ""];
Comments
Post a Comment