Results 1 to 5 of 5

Thread: displaying any table on a qdatatable

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: displaying any table on a qdatatable

    Quote Originally Posted by Philip_Anselmo
    I don't know how to get the numbre of columns so I can make a for maybe to be adding columns to de datatable as I need to.
    You don't have to know the number of columns. Just use QSqlCursor and QDataTable::setSqlCursor().

  2. The following user says thank you to jacek for this useful post:

    Philip_Anselmo (9th May 2006)

Similar Threads

  1. Postgresql QSqlRelationalTableModel empty table
    By RolandHughes in forum Qt Programming
    Replies: 0
    Last Post: 12th November 2008, 18:18
  2. Replies: 3
    Last Post: 6th October 2008, 00:41
  3. Displaying Image's Color Table
    By ramstormrage in forum Newbie
    Replies: 3
    Last Post: 13th May 2008, 18:07
  4. Table Model / View Problem -- Data Not Displaying
    By jhendersen in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2007, 07:45
  5. Displaying QAbstractItemModel in a Table
    By bmesing in forum Qt Programming
    Replies: 1
    Last Post: 28th March 2007, 12:11

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.