I have subclassed NSTableView and NSTableColumn, and I want to control processus of edition of the cells of the table.
I have 2 states for my table class: edition and nonedition. whatever the state of the table, when the user select a row, the row has to be overlighted.
if the table is in state edition, the controls corresponding to the selected row must be visible.
I use the function rowview to make this possible, but I have no success. 1 when I click on the text cell of a cell, the control appears always. 2 when the rowview function is called, I don't understand the value of the row parameter. Sometimes it is correct, sometimes it is incorrect.
is it someone who could hep me?
NSTableView
andNSTableColumn
and which methods did you override? WhichNSTableViewDelegate
methods are implemented? Where are the controls, inside each row or outside the table view? – Willeke