Results 1 to 7 of 7

Thread: MVC - canFetchMore() is not working as expected

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: MVC - canFetchMore() is not working as expected

    Any help or suggestions from Qt experts please ??
    Thanks :-)

  2. #2
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: MVC - canFetchMore() is not working as expected

    I did in the way I am not supposed to do.

    in data() function I am checking If it is last child Of a valid parent item(non root item) & This parent still have some items than I am fetching some more data and inserting.

    I know this is the stupid way as I am fetching & inserting data in data() function & I should not do it here, But did this at this point of of time nothing flashes in my mind.
    May be I need to go through QTreeView source code to get some pointers to work on this feature.
    Thanks :-)

Similar Threads

  1. QAction::setEnabled() Not Working as Expected
    By pmwalk in forum Qt Programming
    Replies: 6
    Last Post: 24th March 2012, 06:20
  2. QDir not working as expected
    By BettaUseYoNikes in forum Qt Programming
    Replies: 2
    Last Post: 24th August 2011, 16:55
  3. Replies: 2
    Last Post: 22nd December 2010, 10:37
  4. Replies: 0
    Last Post: 17th August 2010, 14:37
  5. QTableView not working as expected.
    By junxuan in forum Qt Programming
    Replies: 7
    Last Post: 30th July 2009, 08:17

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.