Display value in tableWidget row/column
Hi All,
I am using Qt 4.5.2
I want to Insert the value in the Table Row & Table Column.
I am using this command ui->tableWidget->setCellWidget(0,1,label);
but in this i have to put value in label .
Can anyone tell me that I can use directly insert the value in the table widget row or column without using label or other widgets.
Re: Display value in tableWidget row/column
you have to use QTableWidgetItems.
Read this carefully: QTableWidget
Re: Display value in tableWidget row/column
Thanks for the Reply.
If Possible Can you send me the link of some example code or send me the snippets of the code.
I have searched lot but i could not found. So please if possible
Re: Display value in tableWidget row/column
Please read through the detailed description of QTableWidget. There ARE example snippets.
Re: Display value in tableWidget row/column
Quote:
Originally Posted by
sosanjay
If Possible Can you send me the link of some example code or send me the snippets of the code.
I gave you links in last post. All you need is to click on them.