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

table remove

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.5.1
    • Quick: Controls 2
    • None

    Description

      Question 1:
      table data

      {"name","id","score"}

      page1--->page2 implement:
      page1:
      beginRemoveRows(parent, 0, size - 1)
      --model data delete c++ code
      endRemoveRows().

      page2:
      beginRemoveRows(parent, 0, size - 1)
      --model data delete c++ code
      endRemoveRows().
      beginInsertRows(parent, 0, count -1)
      --model data insert c++ code
      endInsertRows().

      can you tell me the qml side's executed result
      page1's count?
      page1's currentRow?
      PS:C++ side's rowCount() function return 0 when page1's removal done.

      Question 2:
      how to use the function removeRows()?
      must C++ side's implement it?

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            acni liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes