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

styleData.row is always zero at TableViewColumn delegate.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0 RC1
    • 5.3.0 Beta1
    • Quick: Controls 1
    • None
    • linux x86
    • f580f4ce858a332e62948c1c5372995e9a576452

    Description

      in the following sample styleData.row is always zero.
      it works in 5.2.

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      TableView{
          width: 600
          height: 800
          model: 10
          TableViewColumn{
              delegate:Item{
                  Component.onCompleted: {
                      console.log("Row:" + styleData.row)
                      console.log("Value:" + styleData.value)
                  }
              }
          }
      }
      

      and styleData.value is correct only for first row.
      it worked in Qt 5.2
      please fix it before 5.3 release.

      Attachments

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

        Activity

          People

            bachewii Jens
            chezgi abbas ali chezgi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes