Discussion:
NSTextFieldCell not getting disabled
Abhijeet Singh
2012-01-30 05:29:14 UTC
Permalink
Hi,I have used NSComboBoxCell in my NSTableView to show the list of items. Once user done with its selection and moved to next TableView row I replace NSComboBoxCell with non editable NSTextFieldCell in previous row using (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row method.This works fine only problem is when I disable the NSTableView all the NSTextFieldCells that I inserted remains enabled. I tried to disable NSTextFieldCell using setEnabled method but it doesn't work. Please suggest some solution....RegardsAbhijeetGet Yourself a cool, short @in.com Email ID now!
Loading...