PDA

View Full Version : QDataTable problem in the order



cristiano
20th January 2007, 14:27
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.

ederbs
21st January 2007, 17:38
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

cristiano
21st January 2007, 19:21
already I tried this it did not decide the problem, it does not exist ORDER BY in sql.

Cris

ederbs
22nd January 2007, 22:58
Then I do not know,

Post in the forum in trolltech tries to effect this.

http://lists.trolltech.com/

Ederson de Moura