Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131380

TableView is not working when placed in a Column WITHOUT any other display objects.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.7.3
    • Data Visualization
    • None
    • See included System Information.rtf file.
    • Windows

    Description

      TableView not working when in a Column WITHOUT any other display object.

      Over many days of trying to understand why my TableView would not work, I have found that the TableView object does not evaluate and display its data WITHOUT also having some other visual object within the inclosing Column object.

      To reproduce: Within the main.qml file, with both the Text and Rectangle commented out.  When run nothing is displayed. Uncomment either the Text or the Rectangle and data from the json file fetched and displayed. This is very repeatable. I get the same issue when using 6.7.0 or 6.7.3.

      Notes:

       I have included my System Information in the JsonUsage project folder.

      Be sure the data.json file is copied to the same folder as the executable file.

      The included junk learning project is my attempt to try and understand how the TableView, delegates, roles all work.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tokorpip Tomi Korpipää
            iotsystek J L
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes