HELLO,

i face a problem while sorting the table...

there are 2 columns....after i enter all the data it sorts it and the result is only the first column is visible..second column remains empty....

why is dis happening???

i m using this...

table = new QTableWidget(1, 2, this);
label << tr("MEMORY") << tr("DATA");
table->setHorizontalHeaderLabels(label);
table->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
table->verticalHeader()->hide();
table->setShowGrid(true);
table->setSortingEnabled(true);
table->sortItems (0,Qt:escendingOrder );

plz help me/..