Results 1 to 10 of 10

Thread: Display data from XML file in TableView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Jan 2016
    Posts
    81
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    31

    Default Re: Display data from XML file in TableView

    Quote Originally Posted by anda_skoa View Post
    Your readXMLFile function does not work on the model you have exposed to QML.

    Just have the model as a member of MyXML, then you can access it via property just like the list in comment #3

    Cheers,
    _
    Thank you.
    I got it.
    But what should I do to correct the code.
    Please guide me with simple code.
    Last edited by neda; 28th February 2016 at 12:37.

Similar Threads

  1. How to export data in tableview to an excel file?
    By drunknight in forum Qt Programming
    Replies: 2
    Last Post: 31st December 2013, 03:39
  2. Preventing display spinbox in tableview cells
    By alizadeh91 in forum Qt Programming
    Replies: 2
    Last Post: 30th December 2012, 12:48
  3. display custom widget in a TableView
    By code_talker in forum Qt Programming
    Replies: 4
    Last Post: 4th August 2012, 22:40
  4. TableView/Model Display Question
    By SixDegrees in forum Qt Programming
    Replies: 9
    Last Post: 27th August 2010, 10:06
  5. getting data from tableView
    By mkarakaplan in forum Newbie
    Replies: 1
    Last Post: 7th November 2007, 10:51

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.