1
votes

In my project I've faced the problem of hiding row count in QTableWidget, I need to display the table but without row numbers and borders, here is standard QTableWidget.

standart table

how to hide row count and borders of cells and color the colums, any suggestions?

1

1 Answers

0
votes

You should change the property of QTableWidget. Provided you are using qt-creator, just right click on your table widget in your form(name.ui) and click edit items and then untick translatable property for rows and column. You can change the color of column by changing its stylesheet.