> On Aug 10, 2017, at 8:28 PM, Samir Gartner <
jig...@me.com> wrote:
>
> - (CPView) tableView:(CPTableView) aTableView viewForTableColumn:(CPTableColumn)aTableColumn row:(CPInteger)aRowIndex
> {
> var dataView = [aTableColumn dataViewForRow:aRowIndex];
> var aStringValue = [dataView stringValue];
> console.log(dataView);
> console.log(aStringValue);
>
> return dataView;
> }
Also, the above is not correct. You would instead:
- (CPView) tableView:(CPTableView) aTableView viewForTableColumn:(CPTableColumn)aTableColumn row:(CPInteger)aRowIndex
{
// use this method //
var dataView = [aTableView makeViewWithIdentifier:@“whatever" owner:self];
// /////////////////
var aStringValue = [dataView stringValue];
console.log(dataView);
console.log(aStringValue);
return dataView;
}
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"