Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Scott Anguish
On Jun 23, 2011, at 5:49 PM, Jens Alfke wrote: > > On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote: > >> I have just wired up the delegate outlet and for the second query. The count >> shows up as zero but will this be the reason for the method not getting >> called…? > > Yes. If

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Sandeep Mohan Bhandarkar
Yeah. checked it out by hardcoding a value of 2 in the rows returned now the method seems to be getting called. Thank you for your assistance jens. Regards, Sandeep. On Jun 23, 2011, at 2:49 PM, Jens Alfke wrote: > > On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote: > >> I have just

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Jens Alfke
On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote: > I have just wired up the delegate outlet and for the second query. The count > shows up as zero but will this be the reason for the method not getting > called…? Yes. If there aren’t any rows, the table view won’t need to ask for w

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Sandeep Mohan Bhandarkar
Hi Jens, I have just wired up the delegate outlet and for the second query. The count shows up as zero but will this be the reason for the method not getting called...? Regards, Sandeep. On Jun 23, 2011, at 2:34 PM, Jens Alfke wrote: > > On Jun 23, 2011, at 2:23 PM, Sandeep Mohan Bhandarkar

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Greg Guerin
Sandeep Mohan Bhandarkar wrote: Have i missed anything else...?? All the protocol's methods are declared @optional. That means the compiler won't check whether you've spelled your implementation's method-name correctly. I have seen more than one case where it was misspelled, despite an

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Jens Alfke
On Jun 23, 2011, at 2:23 PM, Sandeep Mohan Bhandarkar wrote: > 3) Did the delegate bindings for the Table Do you mean that you set up Cocoa bindings? Generally if you use bindings to the table columns, those are used instead of the data source. You wouldn’t want to do both. (Or do you just mea

tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Sandeep Mohan Bhandarkar
Hi All, Any reasons why this method will not get called. Please find below the list of steps that i have taken 1) Connected the dataSource outlet of the Table View to my files owner. 2) Registered the dragTypes for the Table View 3) Did the delegate bindings for the Table 4) Implemented numberOf