⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
Can I control the border(frame) of each cell in QTableView?
-
Hello Guru,
A quick question.
Is it possible to control either drawing or hiding the border of each cell in QTableView?
I want to choose the cells with frame. In other words, I want to add the frame to only specific cells.Thanks,
Sat
-
@ShinSat
I don't know if there is a better way, but one method is shwon in https://stackoverflow.com/questions/7262318/how-do-i-assign-a-border-to-a-specific-qtablewidgetitem-or-a-row-in-a-qtablewidg
-
-
Thanks for updates.
Looks like Delegate will be required for this...BTW, does anybody know how to change the border color of cells? (matrix line color)
Sat