Results 1 to 4 of 4

Thread: QDataTable problem in the order

  1. #1
    Join Date
    Sep 2006
    Posts
    42
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QDataTable problem in the order

    Hi,

    Staff, I am again with problems in the QDataTable. Now the problem is for commanding the things, in the truth I does not want that it commands the values, plus all time that is effected a modifies in the date and hour it commands itself, and I do not want this.

    I already tried

    dataTable->setSorting(false);

    they see here:

    http://200.193.29.195/qt3/table.png

    when I bring up to date the hour and dates it commands for top.

    Cris.

  2. #2
    Join Date
    Sep 2006
    Location
    Rio de Janeiro, Brazil
    Posts
    44
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: QDataTable problem in the order

    Hello,

    It tries the properties of the QTable, also verifies if the SQL is not making ordinance “ORDER BY…”.

    dataTable->dataTable->QTable::sortColumn(5, 6, false );
    dataTable->QTable::setSorting(false);

    Ederson de Moura

  3. #3
    Join Date
    Sep 2006
    Posts
    42
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QDataTable problem in the order

    already I tried this it did not decide the problem, it does not exist ORDER BY in sql.

    Cris

  4. #4
    Join Date
    Sep 2006
    Location
    Rio de Janeiro, Brazil
    Posts
    44
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: QDataTable problem in the order

    Then I do not know,

    Post in the forum in trolltech tries to effect this.

    http://lists.trolltech.com/

    Ederson de Moura

Similar Threads

  1. Tab Order Settings in a QDialog widgets
    By vinnu in forum Qt Programming
    Replies: 10
    Last Post: 21st September 2006, 16:25
  2. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  3. problem with QDataTable
    By zlatko in forum Qt Programming
    Replies: 3
    Last Post: 26th April 2006, 15:31
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.