TableView with Controls 2

  • Over the last couple weeks I've been wondering if anyone has built any sort of TableView that's highly customizable, after finding nothing I've decided to build my own.

    QmlGrid is a TableView that is designed in the style of Controls 2, so it can be used to display arbitrary data with arbitrary column and row sizes. Here's my 2 example grids, the bottom one has custom sorting added in

    In this mode the grid has some large default padding and column sizes are determined by the largest value in a column, however if you want to anchor the grid it'll expand to fill the space provided as seen in the following screenshots

    you can see as the window is resized the grid expands to match it.

  • Thank you for sharing!

Log in to reply

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