Showing Grid in TabelView



  • I need to have a grid in my TableView.

    There is a property showGrid in QTableView which holds whether the grid is shown or not.

    But I can't find this in the QtQuick TableView.

    What do I have to do to achieve this?



  • Note that the table view is not really intended for spreadsheet type applications which is why I suspect you want the grid. You can easily create a grid by setting a custom itemDelegate and adding a 1 px tall rectangle at the bottom and a 1 pixel wide rectangle at the right hand corner.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.