Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Announcements
  4. TableView with Controls 2
QtWS25 Last Chance

TableView with Controls 2

Scheduled Pinned Locked Moved Announcements
qtquickqmltableviewgrid
2 Posts 2 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • EluvatarE Offline
    EluvatarE Offline
    Eluvatar
    wrote on last edited by A Former User
    #1

    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
    0_1486764465677_upload-b742a044-7814-4165-b71d-8427d27b0eae

    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
    0_1486764726674_upload-91f370a8-bf91-44b5-a881-7849cbd86829
    0_1486764738818_upload-d21487e9-8fbd-4147-a9d6-63c7ad8d408a

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

    1 Reply Last reply
    2
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Thank you for sharing!

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved