Fw: TableView not loading completely

  • Hi

    I am using datasource. The value I return from numberOfRowsInTableView is in thousands.
    So I should have atleast a 1000 lines of data in the TableView.

    - (int)numberOfRowsInTableView:(NSTableView *)tableView {
      return [plistArray_ count];
    }

    Thank you
    Deepak

    ----- Original Message ----
    From: Chris Hanson <cmh...>
    To: <deepak_gopal_21...>; deepak gopal <deengg...>
    Cc: cocoa dev <cocoa-dev...>
    Sent: Monday, 15 October, 2007 7:56:46 PM
    Subject: Re: TableView not loading completely

    On Oct 15, 2007, at 7:04 PM,
    deepak gopal wrote:

    > I have a table view which would show 13 rows at a given time. The
    > vertical and horizontal scroll are enabled. All the attributes are
    > standard.
    > When I load the data, I can see only the first 13 rows getting
    > populated and the application doesn't respond when I try scrolling
    > down.

    Are you using a data source or bindings to provide the table view with

    objects to display?

    If you're using a data source, what are you returning from its -
    numberOfRowsInTableView: method?

      -- Chris

          Download prohibited? No problem. CHAT from any browser, without download.

          Travelling to a new city? Search for ATMs in that city. Go to http://in.maps.yahoo.com
  • On Oct 16, 2007, at 2:11 PM, deepak gopal wrote:

    > I am using datasource. The value I return from
    > numberOfRowsInTableView is in thousands.
    > So I should have atleast a 1000 lines of data in the TableView.
    >
    > - (int)numberOfRowsInTableView:(NSTableView *)tableView {
    > return [plistArray_ count];
    > }

    There's not enough information here to diagnose the problem. Post
    more of your code here or a simplified sample project if you can.

    Best Regards,

        - Scott
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today