Try:
yourTableWidget.setShowGrid(False)
Unfortunately there seems to be no good way to do this via Stylesheets. A workaround is to set gridline-color:
the same as background-color:
.
If you want to disable just vertical or horizontal lines, turn the grid off in code, and draw the borders per item with the QTableView::item
selector.