css - Remove the vertical grid lines of a QTableView -


i have qtableview shown below:

enter image description here

i want remove vertical lines table. tried set gridline-color property equivalent background-color, removed grid lines.

i want horizontal grid lines stay, , remove vertical ones. how can achieve ?

you can't. there no option qtableview that.

however, can setting gridline-color property background-color (like did) and then setting border items of qtableview; want horizontal grid lines, :

qtableview::item{     border-top : 1px solid black     border-bottom : 1px solid black } 

Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -